/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSpecConstantTests.cpp | 191 std::vector<SpecConstant> specConstants; //!< list of specialization constants to declare member 205 Specialization (const std::vector<SpecConstant>& specConstants, bool packData); 216 Specialization::Specialization (const std::vector<SpecConstant>& specConstants, bool packData) in Specialization() argument 221 m_data.resize(specConstants.size() * kGenericValueSize, std::numeric_limits<deUint8>::max()); in Specialization() 222 m_entries.reserve(specConstants.size()); in Specialization() 225 for (const auto& sc : specConstants) in Specialization() 273 std::string generateSpecConstantCode (const std::vector<SpecConstant>& specConstants) in generateSpecConstantCode() argument 276 …for (std::vector<SpecConstant>::const_iterator it = specConstants.begin(); it != specConstants.end… in generateSpecConstantCode() 337 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms() 357 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.hpp | 265 StageToSpecConstantMap specConstants; member 389 const StageToSpecConstantMap& specConstants, 405 const StageToSpecConstantMap& specConstants, in createInstanceContext() argument 416 …Context(elementsVector, inputColors, outputColors, testCodeFragments, specConstants, pushConstants, in createInstanceContext() 465 const SpecConstants& specConstants, 481 const SpecConstants& specConstants, 516 const SpecConstants& specConstants, in createTestsForAllStages() argument 527 name, inputColors, outputColors, testCodeFragments, specConstants, noPushConstants, in createTestsForAllStages()
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 266 , specConstants (specConstants_) in InstanceContext() 294 , specConstants (other.specConstants) in InstanceContext() 330 const StageToSpecConstantMap& specConstants, in createInstanceContext() argument 340 …InstanceContext ctx (inputColors, outputColors, testCodeFragments, specConstants, pushConstants, r… in createInstanceContext() 3859 …const StageToSpecConstantMap::const_iterator stageIt = instance.specConstants.find(stageInfo->stag… in runAndVerifyDefaultPipeline() 3861 if (stageIt != instance.specConstants.end()) in runAndVerifyDefaultPipeline() 4718 const SpecConstants& specConstants, in createTestForStage() argument 4735 if (!specConstants.empty()) in createTestForStage() 4736 specConstantMap[stage] = specConstants; in createTestForStage() 4759 const SpecConstants& specConstants, in createTestsForAllStages() argument [all …]
|
D | vktSpvAsmComputeShaderCase.cpp | 307 …haderModule shader, const char* entryPoint, const vkt::SpirVAssembly::SpecConstants& specConstants) in createComputePipeline() argument 309 const deUint32 numSpecConstants = (deUint32)specConstants.getValuesCount(); in createComputePipeline() 320 const size_t valueSize = specConstants.getValueSize(ndx); in createComputePipeline() 332 specInfo.pData = specConstants.getValuesBuffer(); in createComputePipeline() 801 …i, device, *pipelineLayout, *module, m_shaderSpec.entryPoint.c_str(), m_shaderSpec.specConstants)); in iterate()
|
D | vktSpvAsmInstructionTests.cpp | 3598 void appendTo(vkt::SpirVAssembly::SpecConstants& specConstants) in appendTo() 3602 case SC_INT8: specConstants.append(value.i8); break; in appendTo() 3603 case SC_UINT8: specConstants.append(value.u8); break; in appendTo() 3604 case SC_INT16: specConstants.append(value.i16); break; in appendTo() 3605 case SC_UINT16: specConstants.append(value.u16); break; in appendTo() 3606 case SC_INT32: specConstants.append(value.i32); break; in appendTo() 3607 case SC_UINT32: specConstants.append(value.u32); break; in appendTo() 3608 case SC_INT64: specConstants.append(value.i64); break; in appendTo() 3609 case SC_UINT64: specConstants.append(value.u64); break; in appendTo() 3610 case SC_FLOAT16: specConstants.append(value.f16); break; in appendTo() [all …]
|
D | vktSpvAsmComputeShaderTestUtil.hpp | 341 SpecConstants specConstants; member
|
/third_party/mesa3d/src/compiler/clc/ |
D | clc_helpers.cpp | 303 for (auto &c : specConstants) { in applyDecoration() 309 specConstants.emplace_back(id, clc_parsed_spec_constant{ spec_id }); in applyDecoration() 507 for (auto& c : specConstants) { in parseSpecConstant() 632 std::vector<std::pair<uint32_t, clc_parsed_spec_constant>> specConstants; member in SPIRVKernelParser 656 *num_spec_constants = parser.specConstants.size(); in clc_spirv_get_kernels_info() 692 for (unsigned i = 0; i < parser.specConstants.size(); ++i) { in clc_spirv_get_kernels_info() 693 spec_constants[i] = parser.specConstants[i].second; in clc_spirv_get_kernels_info()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBuiltinTests.cpp | 384 const std::string specConstants = in initPrograms() local 404 << (useSC ? specConstants : "") << in initPrograms() 426 << (useSC ? specConstants : "") << in initPrograms() 454 << (useSC ? specConstants : "") << in initPrograms() 482 << (useSC ? specConstants : "") << in initPrograms() 512 << (useSC ? specConstants : "") << in initPrograms() 553 << (useSC ? specConstants : "") << in initPrograms()
|