Searched refs:shaderIndex (Results 1 – 3 of 3) sorted by relevance
211 delete this.shaderIndex; // we implicitly delete shader if there is a color227 if (src.shaderIndex >= 0) {228 this.shaderIndex = src.shaderIndex;230 delete this.shaderIndex;463 p.setShader(s.shaderIndex >= 0 ? shaders[s.shaderIndex] : null);
274 const GLuint shaderIndex = write_depth * 2 + write_stencil; in get_drawpix_z_stencil_program() local277 assert(shaderIndex < ARRAY_SIZE(st->drawpix.zs_shaders)); in get_drawpix_z_stencil_program()279 if (st->drawpix.zs_shaders[shaderIndex]) { in get_drawpix_z_stencil_program()281 return st->drawpix.zs_shaders[shaderIndex]; in get_drawpix_z_stencil_program()287 st->drawpix.zs_shaders[shaderIndex] = cso; in get_drawpix_z_stencil_program()303 GLuint shaderIndex; in get_drawpix_zs_to_color_program() local306 shaderIndex = 4; in get_drawpix_zs_to_color_program()308 shaderIndex = 5; in get_drawpix_zs_to_color_program()310 assert(shaderIndex < ARRAY_SIZE(st->drawpix.zs_shaders)); in get_drawpix_zs_to_color_program()312 if (st->drawpix.zs_shaders[shaderIndex]) { in get_drawpix_zs_to_color_program()[all …]
587 deUint32 shaderIndex; in verifyImage() local592 shaderIndex = testParams.sbtRecordOffset + pixel.z() + pixel.w() * testParams.sbtRecordStride; in verifyImage()597 shaderIndex = 0;// pixel.z(); in verifyImage()602 shaderIndex = testParams.sbtRecordOffset + pixel.z() + pixel.w() * testParams.sbtRecordStride; in verifyImage()609 referenceAccess.setPixel(tcu::UVec4(shaderIndex, 0, 0, 0), pixel.x(), pixel.y()); in verifyImage()