Lines Matching refs:g_expandDepthShader
56 static ExpandDepthShader g_expandDepthShader[NUM_SHADERS]; variable
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()
163 GX2SetVertexShader(g_expandDepthShader[shaderIdx].pVertexShader); in GX2UTExpandDepthBufferOp()
164 GX2SetPixelShader(g_expandDepthShader[shaderIdx].pPixelShader); in GX2UTExpandDepthBufferOp()
184 … GX2SetVertexUniformReg(g_expandDepthShader[shaderIdx].u_positionLocation + i*4, 1*4, pos); in GX2UTExpandDepthBufferOp()