Lines Matching refs:i
85 u32 i; in GX2UTConvertDepthInit() local
87 for (i = 0; i < NUM_SHADERS; ++i) in GX2UTConvertDepthInit()
89 g_expandDepthShader[i].pVertexShader = VS_SHADERS[i]; in GX2UTConvertDepthInit()
90 g_expandDepthShader[i].pPixelShader = PS_SHADERS[i]; in GX2UTConvertDepthInit()
93 g_expandDepthShader[i].pVertexShader->shaderPtr, in GX2UTConvertDepthInit()
94 g_expandDepthShader[i].pVertexShader->shaderSize); in GX2UTConvertDepthInit()
96 GX2NotifyMemAlloc(g_expandDepthShader[i].pVertexShader->shaderPtr, in GX2UTConvertDepthInit()
97 g_expandDepthShader[i].pVertexShader->shaderSize, in GX2UTConvertDepthInit()
101 g_expandDepthShader[i].pPixelShader->shaderPtr, in GX2UTConvertDepthInit()
102 g_expandDepthShader[i].pPixelShader->shaderSize); in GX2UTConvertDepthInit()
104 GX2NotifyMemAlloc(g_expandDepthShader[i].pPixelShader->shaderPtr, in GX2UTConvertDepthInit()
105 g_expandDepthShader[i].pPixelShader->shaderSize, in GX2UTConvertDepthInit()
110 g_expandDepthShader[i].u_positionLocation = in GX2UTConvertDepthInit()
111 (u32)GX2GetVertexUniformVarOffset(g_expandDepthShader[i].pVertexShader, "u_positions"); in GX2UTConvertDepthInit()
112 ASSERT((g_expandDepthShader[i].u_positionLocation != GX2_UNIFORM_VAR_INVALID_OFFSET) in GX2UTConvertDepthInit()
189 for (int i = 0; i < 4; i++) in GX2UTConvertDepthBufferToTextureSurfaceOp() local
192 …position_base_scale[0] + position_base_scale[2] * CONVERT_SURFACE_RECT_POSITION_DATA[i].texcoord[0… in GX2UTConvertDepthBufferToTextureSurfaceOp()
193 …position_base_scale[1] + position_base_scale[3] * CONVERT_SURFACE_RECT_POSITION_DATA[i].texcoord[1… in GX2UTConvertDepthBufferToTextureSurfaceOp()
198 GX2SetVertexUniformReg(g_expandDepthShader[shaderIdx].u_positionLocation + i*4, 1*4, pos); in GX2UTConvertDepthBufferToTextureSurfaceOp()