/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampledRenderToSingleSampledTests.cpp | 2729 for (deUint32 sampleID = 0; sampleID < numSamples; ++sampleID) in initBasicPrograms() local 2731 const char* uvComponent = sampleID % 2 == 0 ? "uv.x" : "uv.y"; in initBasicPrograms() 2733 const float floatValue = 1 - static_cast<float>(sampleID / 4) * 0.2f; in initBasicPrograms() 2734 const deUint32 intValue = (sampleID + 1) * (sampleID + 1) * 10; in initBasicPrograms() 2735 const float depthValue = 1 - static_cast<float>(sampleID ^ 1) / 16.0f; in initBasicPrograms() 2737 const Vec4 floatChannels(sampleID % 4 == 0 ? 0 : floatValue, in initBasicPrograms() 2738 sampleID % 4 == 1 ? 0 : floatValue, in initBasicPrograms() 2739 sampleID % 4 == 2 ? 0 : floatValue, in initBasicPrograms() 2740 sampleID % 4 == 3 ? 0 : floatValue); in initBasicPrograms() 2743 src << " " << (sampleID == 0 ? "" : "else ") << "if (gl_SampleID == " << sampleID << ")\n" in initBasicPrograms() [all …]
|
D | vktPipelineMultisampleShaderBuiltInTests.cpp | 263 const deUint32 sampleID = dataPerSample[sampleNdx].getPixelUint(x, y, z).x(); in verifyImageData() local 265 if (sampleID != sampleNdx) in verifyImageData()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineMultisampledRenderToSingleSampledTests.cpp | 2729 for (deUint32 sampleID = 0; sampleID < numSamples; ++sampleID) in initBasicPrograms() local 2731 const char* uvComponent = sampleID % 2 == 0 ? "uv.x" : "uv.y"; in initBasicPrograms() 2733 const float floatValue = 1 - static_cast<float>(sampleID / 4) * 0.2f; in initBasicPrograms() 2734 const deUint32 intValue = (sampleID + 1) * (sampleID + 1) * 10; in initBasicPrograms() 2735 const float depthValue = 1 - static_cast<float>(sampleID ^ 1) / 16.0f; in initBasicPrograms() 2737 const Vec4 floatChannels(sampleID % 4 == 0 ? 0 : floatValue, in initBasicPrograms() 2738 sampleID % 4 == 1 ? 0 : floatValue, in initBasicPrograms() 2739 sampleID % 4 == 2 ? 0 : floatValue, in initBasicPrograms() 2740 sampleID % 4 == 3 ? 0 : floatValue); in initBasicPrograms() 2743 src << " " << (sampleID == 0 ? "" : "else ") << "if (gl_SampleID == " << sampleID << ")\n" in initBasicPrograms() [all …]
|
D | vktPipelineMultisampleShaderBuiltInTests.cpp | 263 const deUint32 sampleID = dataPerSample[sampleNdx].getPixelUint(x, y, z).x(); in verifyImageData() local 265 if (sampleID != sampleNdx) in verifyImageData()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_lowering_nvc0.h | 182 Value *calculateSampleOffset(Value *sampleID);
|
D | nv50_ir_lowering_nvc0.cpp | 3032 Value *sampleID = bld.getScratch(); in handleRDSV() local 3033 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, sampleID, bld.mkImm(0)); in handleRDSV() 3035 Value *offset = calculateSampleOffset(sampleID); in handleRDSV() 3222 NVC0LoweringPass::calculateSampleOffset(Value *sampleID) in calculateSampleOffset() argument 3238 bld.mkOp3(OP_INSBF, TYPE_U32, offset, sampleID, bld.mkImm(0x0302), bld.mkImm(0x0)); in calculateSampleOffset() 3258 bld.mkOp2(OP_SHL, TYPE_U32, offset, sampleID, bld.mkImm(3)); in calculateSampleOffset()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 984 const deUint32 sampleID, 1029 const deUint32 sampleID, in readOneSampleFromMultisampleImage() argument 1095 if (sampleID == 0) in readOneSampleFromMultisampleImage() 1124 …stants(*cmdBuffer, *pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, sizeof(sampleID), &sampleID); in readOneSampleFromMultisampleImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 984 const deUint32 sampleID, 1029 const deUint32 sampleID, in readOneSampleFromMultisampleImage() argument 1095 if (sampleID == 0) in readOneSampleFromMultisampleImage() 1124 …stants(*cmdBuffer, *pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, sizeof(sampleID), &sampleID); in readOneSampleFromMultisampleImage()
|