Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp180 std::vector<SpecConstant> specConstants; //!< list of specialization constants to declare member
193 Specialization (const std::vector<SpecConstant>& specConstants);
204 Specialization::Specialization (const std::vector<SpecConstant>& specConstants) in Specialization() argument
206 m_data.reserve(specConstants.size()); in Specialization()
207 m_entries.reserve(specConstants.size()); in Specialization()
210 …for (std::vector<SpecConstant>::const_iterator it = specConstants.begin(); it != specConstants.end… in Specialization()
254 std::string generateSpecConstantCode (const std::vector<SpecConstant>& specConstants) in generateSpecConstantCode() argument
257 …for (std::vector<SpecConstant>::const_iterator it = specConstants.begin(); it != specConstants.end… in generateSpecConstantCode()
302 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms()
321 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp265 StageToSpecConstantMap specConstants; member
356 const StageToSpecConstantMap& specConstants, in createInstanceContext() argument
366 …InstanceContext ctx (inputColors, outputColors, testCodeFragments, specConstants, pushConstants, r… in createInstanceContext()
412 const SpecConstants& specConstants,
427 const SpecConstants& specConstants,
461 const SpecConstants& specConstants, in createTestsForAllStages() argument
472 name, inputColors, outputColors, testCodeFragments, specConstants, noPushConstants, in createTestsForAllStages()
DvktSpvAsmComputeShaderCase.cpp297 …haderModule shader, const char* entryPoint, const vkt::SpirVAssembly::SpecConstants& specConstants) in createComputePipeline() argument
299 const deUint32 numSpecConstants = (deUint32)specConstants.getValuesCount(); in createComputePipeline()
310 const size_t valueSize = specConstants.getValueSize(ndx); in createComputePipeline()
322 specInfo.pData = specConstants.getValuesBuffer(); in createComputePipeline()
721 …i, device, *pipelineLayout, *module, m_shaderSpec.entryPoint.c_str(), m_shaderSpec.specConstants)); in iterate()
DvktSpvAsmGraphicsShaderTestUtil.cpp266 , specConstants (specConstants_) in InstanceContext()
293 , specConstants (other.specConstants) in InstanceContext()
3356 …const StageToSpecConstantMap::const_iterator stageIt = instance.specConstants.find(stageInfo->stag… in runAndVerifyDefaultPipeline()
3358 if (stageIt != instance.specConstants.end()) in runAndVerifyDefaultPipeline()
4161 const SpecConstants& specConstants, in createTestForStage() argument
4177 if (!specConstants.empty()) in createTestForStage()
4178 specConstantMap[stage] = specConstants; in createTestForStage()
4199 const SpecConstants& specConstants, in createTestsForAllStages() argument
4210 inputColors, outputColors, testCodeFragments, specConstants, pushConstants, resources, in createTestsForAllStages()
4214 inputColors, outputColors, testCodeFragments, specConstants, pushConstants, resources, in createTestsForAllStages()
[all …]
DvktSpvAsmComputeShaderTestUtil.hpp341 SpecConstants specConstants; member
DvktSpvAsmInstructionTests.cpp2822 spec.specConstants.append(&cases[caseNdx].scActualValue0, cases[caseNdx].scActualValueLength); in createSpecConstantGroup()
2823 spec.specConstants.append(&cases[caseNdx].scActualValue1, cases[caseNdx].scActualValueLength); in createSpecConstantGroup()
2886 spec.specConstants.append<deInt32>(123); in createSpecConstantGroup()
2887 spec.specConstants.append<deInt32>(56); in createSpecConstantGroup()
2888 spec.specConstants.append<deInt32>(-77); in createSpecConstantGroup()
4838 spec.specConstants.append<deInt32>(bitwiseCast<deUint32>(std::numeric_limits<float>::infinity())); in createSpecConstantOpQuantizeToF16Group()
4839 …spec.specConstants.append<deInt32>(bitwiseCast<deUint32>(-std::numeric_limits<float>::infinity())); in createSpecConstantOpQuantizeToF16Group()
4840 spec.specConstants.append<deInt32>(bitwiseCast<deUint32>(std::ldexp(1.0f, 16))); in createSpecConstantOpQuantizeToF16Group()
4841 spec.specConstants.append<deInt32>(bitwiseCast<deUint32>(std::ldexp(-1.0f, 32))); in createSpecConstantOpQuantizeToF16Group()
4869 spec.specConstants.append<deInt32>(bitwiseCast<deUint32>(outputs[idx])); in createSpecConstantOpQuantizeToF16Group()
[all …]