/external/swiftshader/src/Pipeline/ |
D | PixelProgram.cpp | 72 …id PixelProgram::setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], int sampleId) in setBuiltins() argument 82 if((state.multiSampleCount > 1) && (sampleId >= 0)) in setBuiltins() 84 x0 = Constants::VkSampleLocations4[sampleId][0]; in setBuiltins() 85 y0 = Constants::VkSampleLocations4[sampleId][1]; in setBuiltins() 136 void PixelProgram::applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId) in applyShader() argument 138 unsigned int sampleLoopInit = (sampleId >= 0) ? sampleId : 0; in applyShader() 139 unsigned int sampleLoopEnd = (sampleId >= 0) ? sampleId + 1 : state.multiSampleCount; in applyShader() 177 As<SIMD::Float>(SIMD::Int((sampleId >= 0) ? sampleId : 0)); in applyShader() 184 …SIMD::Float(((sampleId >= 0) && (state.multiSampleCount > 1)) ? Constants::VkSampleLocations4[samp… in applyShader() 186 …SIMD::Float(((sampleId >= 0) && (state.multiSampleCount > 1)) ? Constants::VkSampleLocations4[samp… in applyShader() [all …]
|
D | PixelProgram.hpp | 37 virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], int sampleId); 38 virtual void applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId); 39 virtual Bool alphaTest(Int cMask[4], int sampleId); 40 …peration(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4], int sampleId);
|
D | PixelRoutine.hpp | 48 …virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], int sampleId) = … 49 virtual void applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId) = 0; 50 virtual Bool alphaTest(Int cMask[4], int sampleId) = 0; 51 …tion(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4], int sampleId) = 0; 56 void alphaToCoverage(Int cMask[4], const Float4 &alpha, int sampleId);
|
D | SpirvShaderSampling.cpp | 112 SIMD::Int sampleId; in emitSamplerRoutine() local 152 sampleId = As<SIMD::Int>(in[i]); in emitSamplerRoutine() 176 …Vector4f sample = s.sampleTexture(texture, uvwa, dRef, lod[i], dPdx, dPdy, offset, sampleId, sampl… in emitSamplerRoutine() 187 …mpleTexture(texture, uvwa, dRef, lodOrBias.x, (dsx.x), (dsy.x), offset, sampleId, samplerFunction); in emitSamplerRoutine()
|
D | SpirvShaderImage.cpp | 180 Object::ID sampleId = 0; in EmitImageSampleUnconditional() local 228 sampleId = insn.word(operand); in EmitImageSampleUnconditional() 321 auto sampleValue = Operand(this, state, sampleId); in EmitImageSampleUnconditional() 495 …e const &imageType, Pointer<Byte> descriptor, int texelSize, Object::ID sampleId, bool useStencilA… in GetTexelAddress() argument 558 if(sampleId.value()) in GetTexelAddress() 560 Operand sample(this, state, sampleId); in GetTexelAddress() 588 if(sampleId.value()) in GetTexelAddress() 590 Operand sample(this, state, sampleId); in GetTexelAddress() 614 Object::ID sampleId = 0; in EmitImageRead() local 622 sampleId = insn.word(operand++); in EmitImageRead() [all …]
|
D | PixelRoutine.cpp | 92 int sampleId = perSampleShading ? i : -1; in quad() local 93 unsigned int sampleLoopInit = perSampleShading ? sampleId : 0; in quad() 94 unsigned int sampleLoopEnd = perSampleShading ? sampleId + 1 : state.multiSampleCount; in quad() 202 xxxx += Float4(Constants::SampleLocationsX[sampleId]); in quad() 203 yyyy += Float4(Constants::SampleLocationsY[sampleId]); in quad() 235 setBuiltins(x, y, z, w, cMask, sampleId); in quad() 289 applyShader(cMask, earlyFragTests ? sMask : cMask, earlyDepthTest ? zMask : cMask, sampleId); in quad() 292 alphaPass = alphaTest(cMask, sampleId); in quad() 328 rasterOperation(cBuffer, x, sMask, zMask, cMask, sampleId); in quad() 607 void PixelRoutine::alphaToCoverage(Int cMask[4], const Float4 &alpha, int sampleId) in alphaToCoverage() argument [all …]
|
D | SpirvShader.hpp | 1232 …e const &imageType, Pointer<Byte> descriptor, int texelSize, Object::ID sampleId, bool useStencilA…
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.sampleId.frag.out | 1 spv.sampleId.frag
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.sampleId.frag.out | 1 spv.sampleId.frag
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTests.cpp | 410 de::MovePtr<tcu::TextureLevel> getSingleSampledImage (deUint32 sampleId); 1698 for (deUint32 sampleId = 0; sampleId < sampleShadedImages.size(); sampleId++) in iterate() local 1700 sampleShadedImages[sampleId] = *renderer.getSingleSampledImage(sampleId); in iterate() 1711 for (deUint32 sampleId = 0; sampleId < sampleShadedImages.size(); sampleId++) in iterate() local 1713 …sampleShadedImage", "One sample of sample shaded image", sampleShadedImages[sampleId].getAccess()); in iterate() 3545 for (deInt32 sampleId = 0; sampleId < (deInt32)m_perSampleImages.size(); ++sampleId) in initialize() local 3548 ….cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **m_copySamplePipelines[sampleId]); in initialize() 3550 …dBuffer, *m_copySamplePipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0, sizeof(deInt32), &sampleId); in initialize() 3584 de::MovePtr<tcu::TextureLevel> MultisampleRenderer::getSingleSampledImage (deUint32 sampleId) in getSingleSampledImage() argument 3586 …QueueFamilyIndex(), m_context.getDefaultAllocator(), *m_perSampleImages[sampleId]->m_image, m_colo… in getSingleSampledImage()
|