Home
last modified time | relevance | path

Searched refs:shaderIndex (Results 1 – 3 of 3) sorted by relevance

/external/skia/demos.skia.org/demos/textedit/
Dtextapi_utils.js211 delete this.shaderIndex; // we implicitly delete shader if there is a color
227 if (src.shaderIndex >= 0) {
228 this.shaderIndex = src.shaderIndex;
230 delete this.shaderIndex;
463 p.setShader(s.shaderIndex >= 0 ? shaders[s.shaderIndex] : null);
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c274 const GLuint shaderIndex = write_depth * 2 + write_stencil; in get_drawpix_z_stencil_program() local
277 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() local
306 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 …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingShaderBindingTableTests.cpp587 deUint32 shaderIndex; in verifyImage() local
592 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()