Home
last modified time | relevance | path

Searched refs:specConstants (Results 1 – 7 of 7) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp188 std::vector<SpecConstant> specConstants; //!< list of specialization constants to declare member
202 Specialization (const std::vector<SpecConstant>& specConstants, bool packData);
213 Specialization::Specialization (const std::vector<SpecConstant>& specConstants, bool packData) in Specialization() argument
218 m_data.resize(specConstants.size() * kGenericValueSize, std::numeric_limits<deUint8>::max()); in Specialization()
219 m_entries.reserve(specConstants.size()); in Specialization()
222 for (const auto& sc : specConstants) in Specialization()
269 std::string generateSpecConstantCode (const std::vector<SpecConstant>& specConstants) in generateSpecConstantCode() argument
272 …for (std::vector<SpecConstant>::const_iterator it = specConstants.begin(); it != specConstants.end… in generateSpecConstantCode()
333 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms()
353 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp265 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()
DvktSpvAsmComputeShaderCase.cpp305 …haderModule shader, const char* entryPoint, const vkt::SpirVAssembly::SpecConstants& specConstants) in createComputePipeline() argument
307 const deUint32 numSpecConstants = (deUint32)specConstants.getValuesCount(); in createComputePipeline()
318 const size_t valueSize = specConstants.getValueSize(ndx); in createComputePipeline()
330 specInfo.pData = specConstants.getValuesBuffer(); in createComputePipeline()
828 …i, device, *pipelineLayout, *module, m_shaderSpec.entryPoint.c_str(), m_shaderSpec.specConstants)); in iterate()
DvktSpvAsmGraphicsShaderTestUtil.cpp266 , 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()
3873 …const StageToSpecConstantMap::const_iterator stageIt = instance.specConstants.find(stageInfo->stag… in runAndVerifyDefaultPipeline()
3875 if (stageIt != instance.specConstants.end()) in runAndVerifyDefaultPipeline()
4719 const SpecConstants& specConstants, in createTestForStage() argument
4736 if (!specConstants.empty()) in createTestForStage()
4737 specConstantMap[stage] = specConstants; in createTestForStage()
4760 const SpecConstants& specConstants, in createTestsForAllStages() argument
[all …]
DvktSpvAsmInstructionTests.cpp3551 void appendTo(vkt::SpirVAssembly::SpecConstants& specConstants) in appendTo()
3555 case SC_INT8: specConstants.append(value.i8); break; in appendTo()
3556 case SC_UINT8: specConstants.append(value.u8); break; in appendTo()
3557 case SC_INT16: specConstants.append(value.i16); break; in appendTo()
3558 case SC_UINT16: specConstants.append(value.u16); break; in appendTo()
3559 case SC_INT32: specConstants.append(value.i32); break; in appendTo()
3560 case SC_UINT32: specConstants.append(value.u32); break; in appendTo()
3561 case SC_INT64: specConstants.append(value.i64); break; in appendTo()
3562 case SC_UINT64: specConstants.append(value.u64); break; in appendTo()
3563 case SC_FLOAT16: specConstants.append(value.f16); break; in appendTo()
[all …]
DvktSpvAsmComputeShaderTestUtil.hpp341 SpecConstants specConstants; member
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp384 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()