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.cpp177 std::vector<SpecConstant> specConstants; //!< list of specialization constants to declare member
190 Specialization (const std::vector<SpecConstant>& specConstants);
201 Specialization::Specialization (const std::vector<SpecConstant>& specConstants) in Specialization() argument
203 m_data.reserve(specConstants.size()); in Specialization()
204 m_entries.reserve(specConstants.size()); in Specialization()
207 …for (std::vector<SpecConstant>::const_iterator it = specConstants.begin(); it != specConstants.end… in Specialization()
251 std::string generateSpecConstantCode (const std::vector<SpecConstant>& specConstants) in generateSpecConstantCode() argument
254 …for (std::vector<SpecConstant>::const_iterator it = specConstants.begin(); it != specConstants.end… in generateSpecConstantCode()
299 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms()
318 << (useSpecConst ? generateSpecConstantCode(m_caseDef.specConstants) : "") in initPrograms()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp252 StageToSpecConstantMap specConstants; member
354 const StageToSpecConstantMap& specConstants, in createInstanceContext() argument
365 …InstanceContext ctx (inputColors, outputColors, testCodeFragments, specConstants, pushConstants, r… in createInstanceContext()
405 const std::vector<deInt32>& specConstants,
441 const std::vector<deInt32>& specConstants, in createTestsForAllStages() argument
453 name, inputColors, outputColors, testCodeFragments, specConstants, noPushConstants, in createTestsForAllStages()
DvktSpvAsmInstructionTests.cpp1585 spec.specConstants.push_back(cases[caseNdx].scActualValue0); in createSpecConstantGroup()
1586 spec.specConstants.push_back(cases[caseNdx].scActualValue1); in createSpecConstantGroup()
1645 spec.specConstants.push_back(123); in createSpecConstantGroup()
1646 spec.specConstants.push_back(56); in createSpecConstantGroup()
1647 spec.specConstants.push_back(-77); in createSpecConstantGroup()
2820 spec.specConstants.push_back(bitwiseCast<deUint32>(std::numeric_limits<float>::infinity())); in createSpecConstantOpQuantizeToF16Group()
2821 spec.specConstants.push_back(bitwiseCast<deUint32>(-std::numeric_limits<float>::infinity())); in createSpecConstantOpQuantizeToF16Group()
2822 spec.specConstants.push_back(bitwiseCast<deUint32>(std::ldexp(1.0f, 16))); in createSpecConstantOpQuantizeToF16Group()
2823 spec.specConstants.push_back(bitwiseCast<deUint32>(std::ldexp(-1.0f, 32))); in createSpecConstantOpQuantizeToF16Group()
2851 spec.specConstants.push_back(bitwiseCast<deUint32>(outputs[idx])); in createSpecConstantOpQuantizeToF16Group()
[all …]
DvktSpvAsmComputeShaderCase.cpp197 …pelineLayout, VkShaderModule shader, const char* entryPoint, const vector<deUint32>& specConstants) in createComputePipeline() argument
199 const deUint32 numSpecConstants = (deUint32)specConstants.size(); in createComputePipeline()
217 specInfo.pData = specConstants.data(); in createComputePipeline()
408 …i, device, *pipelineLayout, *module, m_shaderSpec.entryPoint.c_str(), m_shaderSpec.specConstants)); in iterate()
DvktSpvAsmGraphicsShaderTestUtil.cpp239 , specConstants (specConstants_) in InstanceContext()
266 , specConstants (other.specConstants) in InstanceContext()
2771 …const StageToSpecConstantMap::const_iterator stageIt = instance.specConstants.find(stageInfo->stag… in runAndVerifyDefaultPipeline()
2773 if (stageIt != instance.specConstants.end()) in runAndVerifyDefaultPipeline()
3536 const vector<deInt32>& specConstants, in createTestsForAllStages() argument
3570 specConstantMap[VK_SHADER_STAGE_VERTEX_BIT] = specConstants; in createTestsForAllStages()
3577 specConstantMap[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = specConstants; in createTestsForAllStages()
3584 specConstantMap[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = specConstants; in createTestsForAllStages()
3591 specConstantMap[VK_SHADER_STAGE_GEOMETRY_BIT] = specConstants; in createTestsForAllStages()
3598 specConstantMap[VK_SHADER_STAGE_FRAGMENT_BIT] = specConstants; in createTestsForAllStages()
DvktSpvAsmComputeShaderTestUtil.hpp108 std::vector<deUint32> specConstants; member