/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | VertexProgram.cpp | 30 SpirvShader const *spirvShader, in VertexProgram() argument 32 : VertexRoutine(state, pipelineLayout, spirvShader) in VertexProgram() 35 routine.setImmutableInputBuiltins(spirvShader); in VertexProgram() 42 …routine.setInputBuiltin(spirvShader, spv::BuiltInViewIndex, [&](const SpirvShader::BuiltinMapping … in VertexProgram() 47 …routine.setInputBuiltin(spirvShader, spv::BuiltInInstanceIndex, [&](const SpirvShader::BuiltinMapp… in VertexProgram() 53 …routine.setInputBuiltin(spirvShader, spv::BuiltInSubgroupSize, [&](const SpirvShader::BuiltinMappi… in VertexProgram() 74 auto it = spirvShader->inputBuiltins.find(spv::BuiltInVertexIndex); in program() 75 if(it != spirvShader->inputBuiltins.end()) in program() 84 spirvShader->emit(&routine, activeLaneMask, storesAndAtomicsMask, descriptorSets); in program() 86 spirvShader->emitEpilog(&routine); in program() [all …]
|
D | PixelProgram.cpp | 28 const SpirvShader *spirvShader, in PixelProgram() argument 30 : PixelRoutine(state, pipelineLayout, spirvShader, descriptorSets) in PixelProgram() 72 routine.setImmutableInputBuiltins(spirvShader); in setBuiltins() 109 …routine.setInputBuiltin(spirvShader, spv::BuiltInViewIndex, [&](const SpirvShader::BuiltinMapping … in setBuiltins() 114 …routine.setInputBuiltin(spirvShader, spv::BuiltInFragCoord, [&](const SpirvShader::BuiltinMapping … in setBuiltins() 122 …routine.setInputBuiltin(spirvShader, spv::BuiltInPointCoord, [&](const SpirvShader::BuiltinMapping… in setBuiltins() 128 …routine.setInputBuiltin(spirvShader, spv::BuiltInSubgroupSize, [&](const SpirvShader::BuiltinMappi… in setBuiltins() 133 …routine.setInputBuiltin(spirvShader, spv::BuiltInHelperInvocation, [&](const SpirvShader::BuiltinM… in setBuiltins() 147 auto it = spirvShader->inputBuiltins.find(spv::BuiltInFrontFacing); in executeShader() 148 if(it != spirvShader->inputBuiltins.end()) in executeShader() [all …]
|
D | VertexRoutine.cpp | 30 SpirvShader const *spirvShader) in VertexRoutine() argument 33 , spirvShader(spirvShader) in VertexRoutine() 35 spirvShader->emitProlog(&routine); in VertexRoutine() 92 if(spirvShader->inputs[i + 0].Type != SpirvShader::ATTRIBTYPE_UNUSED || in readInput() 93 spirvShader->inputs[i + 1].Type != SpirvShader::ATTRIBTYPE_UNUSED || in readInput() 94 spirvShader->inputs[i + 2].Type != SpirvShader::ATTRIBTYPE_UNUSED || in readInput() 95 spirvShader->inputs[i + 3].Type != SpirvShader::ATTRIBTYPE_UNUSED) in readInput() 117 auto it = spirvShader->outputBuiltins.find(spv::BuiltInPosition); in computeClipFlags() 118 if(it != spirvShader->outputBuiltins.end()) in computeClipFlags() 158 auto it = spirvShader->outputBuiltins.find(spv::BuiltInCullDistance); in computeCullMask() [all …]
|
D | VertexRoutine.hpp | 54 SpirvShader const *spirvShader); 68 SpirvShader const *const spirvShader; member in sw::VertexRoutine
|
D | VertexProgram.hpp | 31 SpirvShader const *spirvShader,
|
D | PixelProgram.hpp | 28 const SpirvShader *spirvShader,
|
D | PixelRoutine.cpp | 31 SpirvShader const *spirvShader, in PixelRoutine() argument 33 : QuadRasterizer(state, spirvShader) in PixelRoutine() 36 …, shaderContainsInterpolation(spirvShader && spirvShader->getUsedCapabilities().InterpolationFunct… in PixelRoutine() 37 … , shaderContainsSampleQualifier(spirvShader && spirvShader->getAnalysis().ContainsSampleQualifier) in PixelRoutine() 42 if(spirvShader) in PixelRoutine() 44 spirvShader->emitProlog(&routine); in PixelRoutine() 80 …const bool earlyFragmentTests = !spirvShader || spirvShader->getExecutionModes().EarlyFragmentTest… in quad() 185 if(spirvShader) in quad() 209 auto const &input = spirvShader->inputs[interfaceInterpolant]; in quad() 254 if(spirvShader->getUsedCapabilities().ClipDistance) in quad() [all …]
|
D | ComputeProgram.hpp | 50 …ComputeProgram(vk::Device *device, std::shared_ptr<SpirvShader> spirvShader, vk::PipelineLayout co…
|
D | PixelRoutine.hpp | 32 SpirvShader const *spirvShader,
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | QuadRasterizer.cpp | 26 QuadRasterizer::QuadRasterizer(const PixelProcessor::State &state, SpirvShader const *spirvShader) in QuadRasterizer() argument 28 , spirvShader{ spirvShader } in QuadRasterizer() 149 if(spirvShader) in rasterize() 154 if(spirvShader->inputs[interfaceInterpolant].Type == SpirvShader::ATTRIBTYPE_UNUSED) in rasterize() 158 if(!spirvShader->inputs[interfaceInterpolant].Flat) in rasterize() 252 …return state.depthTestActive || (spirvShader && spirvShader->hasBuiltinInput(spv::BuiltInFragCoord… in interpolateZ() 259 return spirvShader != nullptr; in interpolateW()
|
D | QuadRasterizer.hpp | 28 QuadRasterizer(const PixelProcessor::State &state, SpirvShader const *spirvShader); 52 const SpirvShader *const spirvShader; member in sw::QuadRasterizer
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkPipeline.cpp | 290 …::setShader(const VkShaderStageFlagBits &stage, const std::shared_ptr<sw::SpirvShader> spirvShader) in setShader() argument 296 vertexShader = spirvShader; in setShader() 301 fragmentShader = spirvShader; in setShader()
|
D | VkPipeline.hpp | 114 … setShader(const VkShaderStageFlagBits &stage, const std::shared_ptr<sw::SpirvShader> spirvShader);
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
D | vksJson.cpp | 850 std::vector<deUint8>& spirvShader) in parse_VkShaderModuleCreateInfo() argument 864 spirvShader = vk_json_parser::base64decode(obj["pCode"].asString()); in parse_VkShaderModuleCreateInfo() 867 spirvShader.resize(o.codeSize); in parse_VkShaderModuleCreateInfo() 868 o.pCode = (deUint32*)spirvShader.data(); in parse_VkShaderModuleCreateInfo() 874 std::vector<deUint8>& spirvShader) in readJSON_VkShaderModuleCreateInfo() argument 881 parse_VkShaderModuleCreateInfo("", jsonRoot, smCI, spirvShader); in readJSON_VkShaderModuleCreateInfo()
|
D | vksCacheBuilder.cpp | 95 std::vector<deUint8> spirvShader; in exportFilesForExternalCompiler() local 96 readJSON_VkShaderModuleCreateInfo(jsonReader, shader.second, smCI, spirvShader); in exportFilesForExternalCompiler() 98 allSpirvShaders.insert({ shader.first, spirvShader }); in exportFilesForExternalCompiler() 727 std::vector<deUint8> spirvShader; in buildPipelineCache() local 728 readJSON_VkShaderModuleCreateInfo(jsonReader, shader.second, smCI, spirvShader); in buildPipelineCache()
|
D | vksJson.hpp | 110 vector<deUint8>& spirvShader);
|