Home
last modified time | relevance | path

Searched refs:valMask (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test.c349 * \param valMask the stencil value mask indicating which bits of the stencil
356 unsigned ref, unsigned valMask) in do_stencil_test()
364 refs[j] = data->shader_stencil_refs[j] & valMask; in do_stencil_test()
366 refs[j] = ref & valMask; in do_stencil_test()
375 if (refs[j] < (data->stencilVals[j] & valMask)) { in do_stencil_test()
382 if (refs[j] == (data->stencilVals[j] & valMask)) { in do_stencil_test()
389 if (refs[j] <= (data->stencilVals[j] & valMask)) { in do_stencil_test()
396 if (refs[j] > (data->stencilVals[j] & valMask)) { in do_stencil_test()
403 if (refs[j] != (data->stencilVals[j] & valMask)) { in do_stencil_test()
410 if (refs[j] >= (data->stencilVals[j] & valMask)) { in do_stencil_test()
354 do_stencil_test(struct depth_data *data, unsigned func, unsigned ref, unsigned valMask) do_stencil_test() argument
624 ubyte ref, wrtMask, valMask; depth_stencil_test_quad() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fStencilTests.cpp560 int valMask = (1<<stencilBits)-1; in init()
563 StencilOp op = StencilOp::quad(GL_EQUAL, (~targetStencil | ~mask) & valMask, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INVERT); in init()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fStencilTests.cpp557 int valMask = (1<<stencilBits)-1; in init()
560 StencilOp op = StencilOp::quad(GL_EQUAL, (~targetStencil | ~mask) & valMask, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INVERT); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp872 const deUint32 valMask = (bits == 32 ? ~0u : ((1u<<bits)-1u)); in compare() local
873 const deUint32 baseVal = (offset == 32) ? (0) : ((value >> offset) & valMask); in compare()
874 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u); in compare()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderIntegerFunctionTests.cpp755 const deUint32 valMask = (bits == 32 ? ~0u : ((1u<<bits)-1u)); in compare() local
756 const deUint32 baseVal = (offset == 32) ? (0) : ((value >> offset) & valMask); in compare()
757 ref = baseVal | ((isSigned && (baseVal & (1 << (bits - 1)))) ? ~valMask : 0u); in compare()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp872 const deUint32 valMask = (bits == 32 ? ~0u : ((1u<<bits)-1u)); in compare() local
873 const deUint32 baseVal = (offset == 32) ? (0) : ((value >> offset) & valMask); in compare()
874 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u); in compare()

Completed in 11 milliseconds