Lines Matching refs:i
84 u32 i; in GX2UTExpandDepthInit() local
86 for (i = 0; i < NUM_SHADERS; ++i) in GX2UTExpandDepthInit()
88 g_expandDepthShader[i].pVertexShader = VS_SHADERS[i]; in GX2UTExpandDepthInit()
89 g_expandDepthShader[i].pPixelShader = PS_SHADERS[i]; in GX2UTExpandDepthInit()
92 g_expandDepthShader[i].pVertexShader->shaderPtr, in GX2UTExpandDepthInit()
93 g_expandDepthShader[i].pVertexShader->shaderSize); in GX2UTExpandDepthInit()
95 GX2NotifyMemAlloc(g_expandDepthShader[i].pVertexShader->shaderPtr, in GX2UTExpandDepthInit()
96 g_expandDepthShader[i].pVertexShader->shaderSize, in GX2UTExpandDepthInit()
100 g_expandDepthShader[i].pPixelShader->shaderPtr, in GX2UTExpandDepthInit()
101 g_expandDepthShader[i].pPixelShader->shaderSize); in GX2UTExpandDepthInit()
103 GX2NotifyMemAlloc(g_expandDepthShader[i].pPixelShader->shaderPtr, in GX2UTExpandDepthInit()
104 g_expandDepthShader[i].pPixelShader->shaderSize, in GX2UTExpandDepthInit()
109 g_expandDepthShader[i].u_positionLocation = in GX2UTExpandDepthInit()
110 (u32)GX2GetVertexUniformVarOffset(g_expandDepthShader[i].pVertexShader, "u_positions"); in GX2UTExpandDepthInit()
111 ASSERT((g_expandDepthShader[i].u_positionLocation != GX2_UNIFORM_VAR_INVALID_OFFSET) in GX2UTExpandDepthInit()
175 for (int i = 0; i < 4; i++) in GX2UTExpandDepthBufferOp() local
178 …position_base_scale[0] + position_base_scale[2] * EXPAND_SURFACE_RECT_POSITION_DATA[i].texcoord[0], in GX2UTExpandDepthBufferOp()
179 …position_base_scale[1] + position_base_scale[3] * EXPAND_SURFACE_RECT_POSITION_DATA[i].texcoord[1], in GX2UTExpandDepthBufferOp()
184 … GX2SetVertexUniformReg(g_expandDepthShader[shaderIdx].u_positionLocation + i*4, 1*4, pos); in GX2UTExpandDepthBufferOp()