Lines Matching refs:count
82 if(pShader->samplersVS.count > GX2_MAX_SAMPLERS ) in DEMOGfxGetVertexShaderSamplerLocation()
84 …OSReport("Warning : The sampler count (%d) in VS is over %d\n", pShader->samplersVS.count, GX2_MAX… in DEMOGfxGetVertexShaderSamplerLocation()
89 pShader->samplersVS.location[pShader->samplersVS.count] = in DEMOGfxGetVertexShaderSamplerLocation()
91 ASSERT(DEMOGfxCheckShaderLocation(pShader->samplersVS.location[pShader->samplersVS.count])); in DEMOGfxGetVertexShaderSamplerLocation()
94 pShader->samplersVS.count++; in DEMOGfxGetVertexShaderSamplerLocation()
105 if(pShader->samplersPS.count > GX2_MAX_SAMPLERS ) in DEMOGfxGetPixelShaderSamplerLocation()
107 …OSReport("Warning : The sampler count (%d) in PS is over %d\n", pShader->samplersPS.count, GX2_MAX… in DEMOGfxGetPixelShaderSamplerLocation()
112 pShader->samplersPS.location[pShader->samplersPS.count] = in DEMOGfxGetPixelShaderSamplerLocation()
114 ASSERT(DEMOGfxCheckShaderLocation(pShader->samplersPS.location[pShader->samplersPS.count])); in DEMOGfxGetPixelShaderSamplerLocation()
117 pShader->samplersPS.count++; in DEMOGfxGetPixelShaderSamplerLocation()
128 if(pShader->samplersGS.count > GX2_MAX_SAMPLERS ) in DEMOGfxGetGeometryShaderSamplerLocation()
130 …OSReport("Warning : The sampler count (%d) in GS is over %d\n", pShader->samplersGS.count, GX2_MAX… in DEMOGfxGetGeometryShaderSamplerLocation()
135 pShader->samplersGS.location[pShader->samplersGS.count] = in DEMOGfxGetGeometryShaderSamplerLocation()
137 ASSERT(DEMOGfxCheckShaderLocation(pShader->samplersGS.location[pShader->samplersGS.count])); in DEMOGfxGetGeometryShaderSamplerLocation()
140 pShader->samplersGS.count++; in DEMOGfxGetGeometryShaderSamplerLocation()
151 if(pShader->uniformsVS.count > GX2_MAX_VS_UNIFORM_VARS ) in DEMOGfxGetVertexShaderUniformLocation()
153 …OSReport("Warning : The uniform count (%d) in VS is over %d\n", pShader->uniformsVS.count, GX2_MAX… in DEMOGfxGetVertexShaderUniformLocation()
158 pShader->uniformsVS.location[pShader->uniformsVS.count] = in DEMOGfxGetVertexShaderUniformLocation()
160 ASSERT(DEMOGfxCheckShaderLocation(pShader->uniformsVS.location[pShader->uniformsVS.count])); in DEMOGfxGetVertexShaderUniformLocation()
163 pShader->uniformsVS.count++; in DEMOGfxGetVertexShaderUniformLocation()
174 if(pShader->uniformsPS.count > GX2_MAX_PS_UNIFORM_VARS ) in DEMOGfxGetPixelShaderUniformLocation()
176 …OSReport("Warning : The uniform count (%d) in PS is over %d\n", pShader->uniformsPS.count, GX2_MAX… in DEMOGfxGetPixelShaderUniformLocation()
180 pShader->uniformsPS.location[pShader->uniformsPS.count] = in DEMOGfxGetPixelShaderUniformLocation()
182 ASSERT(DEMOGfxCheckShaderLocation(pShader->uniformsPS.location[pShader->uniformsPS.count])); in DEMOGfxGetPixelShaderUniformLocation()
185 pShader->uniformsPS.count++; in DEMOGfxGetPixelShaderUniformLocation()
196 if(pShader->uniformBlocksVS.count > GX2_MAX_UNIFORM_BLOCKS ) in DEMOGfxGetVertexShaderUniformBlockLocation()
198 …he uniform block count (%d) in VS is over %d\n", pShader->uniformBlocksVS.count, GX2_MAX_UNIFORM_B… in DEMOGfxGetVertexShaderUniformBlockLocation()
204 pShader->uniformBlocksVS.location[pShader->uniformBlocksVS.count] = block->location; in DEMOGfxGetVertexShaderUniformBlockLocation()
205 pShader->uniformBlocksVS.size[pShader->uniformBlocksVS.count] = block->size; in DEMOGfxGetVertexShaderUniformBlockLocation()
206 …ERT(DEMOGfxCheckShaderLocation(pShader->uniformBlocksVS.location[pShader->uniformBlocksVS.count])); in DEMOGfxGetVertexShaderUniformBlockLocation()
209 pShader->uniformBlocksVS.count++; in DEMOGfxGetVertexShaderUniformBlockLocation()
220 if(pShader->uniformBlocksPS.count > GX2_MAX_UNIFORM_BLOCKS ) in DEMOGfxGetPixelShaderUniformBlockLocation()
222 …he uniform block count (%d) in PS is over %d\n", pShader->uniformBlocksPS.count, GX2_MAX_UNIFORM_B… in DEMOGfxGetPixelShaderUniformBlockLocation()
228 pShader->uniformBlocksPS.location[pShader->uniformBlocksPS.count] = block->location; in DEMOGfxGetPixelShaderUniformBlockLocation()
229 pShader->uniformBlocksPS.size[pShader->uniformBlocksPS.count] = block->size; in DEMOGfxGetPixelShaderUniformBlockLocation()
230 …ERT(DEMOGfxCheckShaderLocation(pShader->uniformBlocksPS.location[pShader->uniformBlocksPS.count])); in DEMOGfxGetPixelShaderUniformBlockLocation()
233 pShader->uniformBlocksPS.count++; in DEMOGfxGetPixelShaderUniformBlockLocation()
244 if(pShader->uniformBlocksGS.count > GX2_MAX_UNIFORM_BLOCKS ) in DEMOGfxGetGeometryShaderUniformBlockLocation()
246 …he uniform block count (%d) in GS is over %d\n", pShader->uniformBlocksGS.count, GX2_MAX_UNIFORM_B… in DEMOGfxGetGeometryShaderUniformBlockLocation()
252 pShader->uniformBlocksGS.location[pShader->uniformBlocksGS.count] = block->location; in DEMOGfxGetGeometryShaderUniformBlockLocation()
253 pShader->uniformBlocksGS.size[pShader->uniformBlocksGS.count] = block->size; in DEMOGfxGetGeometryShaderUniformBlockLocation()
254 …ERT(DEMOGfxCheckShaderLocation(pShader->uniformBlocksGS.location[pShader->uniformBlocksGS.count])); in DEMOGfxGetGeometryShaderUniformBlockLocation()
257 pShader->uniformBlocksGS.count++; in DEMOGfxGetGeometryShaderUniformBlockLocation()