Home
last modified time | relevance | path

Searched refs:spirvVersion (Results 1 – 25 of 71) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmSpirvVersionTests.cpp66 SpirvVersion spirvVersion; member
102 if (testParameters.spirvVersion > SPIRV_VERSION_1_3) in initGraphicsInstanceContext()
116 static void getComputeSourceCode (std::string& computeSourceCode, SpirvVersion spirvVersion) in getComputeSourceCode() argument
119 if (spirvVersion > SPIRV_VERSION_1_3) in getComputeSourceCode()
131 …string(getComputeAsmInputOutputBufferTraits((spirvVersion > SPIRV_VERSION_1_3) ? "Block" : "Buffer… in getComputeSourceCode()
132 …string(getComputeAsmCommonTypes((spirvVersion > SPIRV_VERSION_1_3) ? "StorageBuffer" : "Uniform"))… in getComputeSourceCode()
133 …string(getComputeAsmInputOutputBuffer((spirvVersion > SPIRV_VERSION_1_3) ? "StorageBuffer" : "Unif… in getComputeSourceCode()
157 …cast<deUint32>(testParameters.operation)<<16) ^ static_cast<deUint32>(testParameters.spirvVersion); in getComputeShaderSpec()
216 if (!isSpirVersionsAsRequested(m_context.getBinaryCollection(), m_testParameters.spirvVersion)) in iterate()
244 if (!isSpirVersionsAsRequested(m_context.getBinaryCollection(), m_testParameters.spirvVersion)) in iterate()
[all …]
DvktSpvAsmEmptyStructTests.cpp330 spec.spirvVersion = SPIRV_VERSION_1_4; in addPointerComparisionComputeGroup()
546 spec.spirvVersion = SPIRV_VERSION_1_4; in addFunctionArgumentReturnValueGroup()
DvktSpvAsmComputeShaderTestUtil.hpp353 SpirvVersion spirvVersion; member
365 , spirvVersion (SPIRV_VERSION_1_0) in ComputeShaderSpec()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmSpirvVersionTests.cpp66 SpirvVersion spirvVersion; member
102 if (testParameters.spirvVersion > SPIRV_VERSION_1_3) in initGraphicsInstanceContext()
116 static void getComputeSourceCode (std::string& computeSourceCode, SpirvVersion spirvVersion) in getComputeSourceCode() argument
119 if (spirvVersion > SPIRV_VERSION_1_3) in getComputeSourceCode()
131 …string(getComputeAsmInputOutputBufferTraits((spirvVersion > SPIRV_VERSION_1_3) ? "Block" : "Buffer… in getComputeSourceCode()
132 …string(getComputeAsmCommonTypes((spirvVersion > SPIRV_VERSION_1_3) ? "StorageBuffer" : "Uniform"))… in getComputeSourceCode()
133 …string(getComputeAsmInputOutputBuffer((spirvVersion > SPIRV_VERSION_1_3) ? "StorageBuffer" : "Unif… in getComputeSourceCode()
157 …cast<deUint32>(testParameters.operation)<<16) ^ static_cast<deUint32>(testParameters.spirvVersion); in getComputeShaderSpec()
216 if (!isSpirVersionsAsRequested(m_context.getBinaryCollection(), m_testParameters.spirvVersion)) in iterate()
244 if (!isSpirVersionsAsRequested(m_context.getBinaryCollection(), m_testParameters.spirvVersion)) in iterate()
[all …]
DvktSpvAsmEmptyStructTests.cpp330 spec.spirvVersion = SPIRV_VERSION_1_4; in addPointerComparisionComputeGroup()
546 spec.spirvVersion = SPIRV_VERSION_1_4; in addFunctionArgumentReturnValueGroup()
DvktSpvAsmComputeShaderTestUtil.hpp353 SpirvVersion spirvVersion; member
365 , spirvVersion (SPIRV_VERSION_1_0) in ComputeShaderSpec()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPrograms.cpp106 …eCompiledBinary (vector<deUint32>& binary, int optimizationRecipe, const SpirvVersion spirvVersion) in optimizeCompiledBinary() argument
111 switch (spirvVersion) in optimizeCompiledBinary()
621 const SpirvVersion spirvVersion = program.buildOptions.targetVersion; in buildProgram() local
692 optimizeCompiledBinary(binary, optimizationRecipe, spirvVersion); in buildProgram()
709 const SpirvVersion spirvVersion = program.buildOptions.targetVersion; in buildProgram() local
780 optimizeCompiledBinary(binary, optimizationRecipe, spirvVersion); in buildProgram()
799 const SpirvVersion spirvVersion = program.buildOptions.targetVersion; in assembleProgram() local
812 cachekey += getSpirvVersionName(spirvVersion); in assembleProgram()
839 if (!assembleSpirV(&program, &binary, buildInfo, spirvVersion)) in assembleProgram()
845 optimizeCompiledBinary(binary, optimizationRecipe, spirvVersion); in assembleProgram()
[all …]
DvkSpirVAsm.cpp58 static spv_target_env mapTargetSpvEnvironment(SpirvVersion spirvVersion) in mapTargetSpvEnvironment() argument
62 switch (spirvVersion) in mapTargetSpvEnvironment()
77 …ource* program, std::vector<deUint32>* dst, SpirVProgramInfo* buildInfo, SpirvVersion spirvVersion) in assembleSpirV() argument
79 const spv_context context = spvContextCreate(mapTargetSpvEnvironment(spirvVersion)); in assembleSpirV()
121 …rV (size_t binarySizeInWords, const deUint32* binary, std::ostream* dst, SpirvVersion spirvVersion) in disassembleSpirV() argument
123 const spv_context context = spvContextCreate(mapTargetSpvEnvironment(spirvVersion)); in disassembleSpirV()
DvkSpirVAsm.hpp35 …urce* program, std::vector<deUint32>* dst, SpirVProgramInfo* buildInfo, SpirvVersion spirvVersion);
38 …V (size_t binarySizeInWords, const deUint32* binary, std::ostream* dst, SpirvVersion spirvVersion);
DvkPrograms.hpp241 std::string getSpirvVersionName (const SpirvVersion spirvVersion);
242 SpirvVersion& operator++ (SpirvVersion& spirvVersion);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber/
DvktAmberTestCase.cpp325 vk::SpirvVersion spirvVersion = vk::SPIRV_VERSION_1_0; in initPrograms() local
328 spirvVersion = vk::SPIRV_VERSION_1_6; in initPrograms()
330 spirvVersion = vk::SPIRV_VERSION_1_5; in initPrograms()
332 spirvVersion = vk::SPIRV_VERSION_1_4; in initPrograms()
334 spirvVersion = vk::SPIRV_VERSION_1_3; in initPrograms()
336 spirvVersion = vk::SPIRV_VERSION_1_2; in initPrograms()
338 spirvVersion = vk::SPIRV_VERSION_1_1; in initPrograms()
350 bool allowSpirv14 = (spirvVersion == vk::SPIRV_VERSION_1_4); in initPrograms()
357 … << vk::ShaderBuildOptions(programCollection.usedVulkanVersion, spirvVersion, 0u, allowSpirv14); in initPrograms()
362 … << vk::ShaderBuildOptions(programCollection.usedVulkanVersion, spirvVersion, 0u, allowSpirv14); in initPrograms()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/amber/
DvktAmberTestCase.cpp325 vk::SpirvVersion spirvVersion = vk::SPIRV_VERSION_1_0; in initPrograms() local
328 spirvVersion = vk::SPIRV_VERSION_1_6; in initPrograms()
330 spirvVersion = vk::SPIRV_VERSION_1_5; in initPrograms()
332 spirvVersion = vk::SPIRV_VERSION_1_4; in initPrograms()
334 spirvVersion = vk::SPIRV_VERSION_1_3; in initPrograms()
336 spirvVersion = vk::SPIRV_VERSION_1_2; in initPrograms()
338 spirvVersion = vk::SPIRV_VERSION_1_1; in initPrograms()
350 bool allowSpirv14 = (spirvVersion == vk::SPIRV_VERSION_1_4); in initPrograms()
357 … << vk::ShaderBuildOptions(programCollection.usedVulkanVersion, spirvVersion, 0u, allowSpirv14); in initPrograms()
362 … << vk::ShaderBuildOptions(programCollection.usedVulkanVersion, spirvVersion, 0u, allowSpirv14); in initPrograms()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsSizeControlTests.cpp55 SpirvVersion spirvVersion; member
280 && checkInternalData->caseDef.spirvVersion < SPIRV_VERSION_1_6) in checkComputeRequireFull()
289 && checkInternalData->caseDef.spirvVersion < SPIRV_VERSION_1_6) in checkComputeRequireFull()
303 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, caseDef.spirvVersion, … in initFrameBufferPrograms()
468 …ldOptions (programCollection.usedVulkanVersion, caseDef.spirvVersion, 0u, (caseDef.spirvVersion =… in initPrograms()
505 …ce(src.str()) << ShaderBuildOptions(programCollection.usedVulkanVersion, caseDef.spirvVersion, 0u); in initProgramsRequireFull()
596 if (caseDef.spirvVersion > vk::getMaxSpirvVersionForVulkan(context.getUsedApiVersion())) in supportedCheckFeatures()
867 || caseDef.spirvVersion >= SPIRV_VERSION_1_6) in testRequireSubgroupSize()
881 || caseDef.spirvVersion >= SPIRV_VERSION_1_6) in testRequireSubgroupSize()
DvktSubgroupsVoteTests.cpp183 const SpirvVersion spirvVersion = spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3; in initFrameBufferPrograms() local
184 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferPrograms()
229 const SpirvVersion spirvVersion = spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3; in initFrameBufferProgramsFrag() local
230 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferProgramsFrag()
289 const SpirvVersion spirvVersion = spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3; in initPrograms() local
290 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, spir… in initPrograms()
DvktSubgroupsQuadTests.cpp182 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? SPIRV_VER… in initFrameBufferPrograms() local
183 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferPrograms()
196 const SpirvVersion spirvVersion = spirv15required ? SPIRV_VERSION_1_5 in initPrograms() local
199 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, (spi… in initPrograms()
DvktSubgroupsBallotBroadcastTests.cpp233 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_BROADCAST_NONCONST) ? SPIRV_VERSION_… in initFrameBufferPrograms() local
234 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferPrograms()
250 const SpirvVersion spirvVersion = spirv15required ? SPIRV_VERSION_1_5 in initPrograms() local
253 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, (spi… in initPrograms()
DvktSubgroupsBallotMasksTests.cpp217 const SpirvVersion spirvVersion = (spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3); in initPrograms() local
218 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, spi… in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsSizeControlTests.cpp55 SpirvVersion spirvVersion; member
280 && checkInternalData->caseDef.spirvVersion < SPIRV_VERSION_1_6) in checkComputeRequireFull()
289 && checkInternalData->caseDef.spirvVersion < SPIRV_VERSION_1_6) in checkComputeRequireFull()
303 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, caseDef.spirvVersion, … in initFrameBufferPrograms()
468 …ldOptions (programCollection.usedVulkanVersion, caseDef.spirvVersion, 0u, (caseDef.spirvVersion =… in initPrograms()
505 …ce(src.str()) << ShaderBuildOptions(programCollection.usedVulkanVersion, caseDef.spirvVersion, 0u); in initProgramsRequireFull()
596 if (caseDef.spirvVersion > vk::getMaxSpirvVersionForVulkan(context.getUsedApiVersion())) in supportedCheckFeatures()
867 || caseDef.spirvVersion >= SPIRV_VERSION_1_6) in testRequireSubgroupSize()
881 || caseDef.spirvVersion >= SPIRV_VERSION_1_6) in testRequireSubgroupSize()
DvktSubgroupsVoteTests.cpp183 const SpirvVersion spirvVersion = spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3; in initFrameBufferPrograms() local
184 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferPrograms()
229 const SpirvVersion spirvVersion = spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3; in initFrameBufferProgramsFrag() local
230 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferProgramsFrag()
289 const SpirvVersion spirvVersion = spirv14required ? SPIRV_VERSION_1_4 : SPIRV_VERSION_1_3; in initPrograms() local
290 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, spir… in initPrograms()
DvktSubgroupsQuadTests.cpp182 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? SPIRV_VER… in initFrameBufferPrograms() local
183 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferPrograms()
196 const SpirvVersion spirvVersion = spirv15required ? SPIRV_VERSION_1_5 in initPrograms() local
199 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, (spi… in initPrograms()
DvktSubgroupsBallotBroadcastTests.cpp233 …const SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_BROADCAST_NONCONST) ? SPIRV_VERSION_… in initFrameBufferPrograms() local
234 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u); in initFrameBufferPrograms()
250 const SpirvVersion spirvVersion = spirv15required ? SPIRV_VERSION_1_5 in initPrograms() local
253 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spirvVersion, 0u, (spi… in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsStorage.cpp69 SpirvVersion spirvVersion = SPIRV_VERSION_1_0; in initPrograms() local
74 spirvVersion = SPIRV_VERSION_1_6; in initPrograms()
302 << vk::SpirVAsmBuildOptions(programCollection.usedVulkanVersion, spirvVersion); in initPrograms()
DvktSparseResourcesShaderIntrinsicsSampled.cpp217 SpirvVersion spirvVersion = SPIRV_VERSION_1_0; in initPrograms() local
222 spirvVersion = SPIRV_VERSION_1_6; in initPrograms()
403 << vk::SpirVAsmBuildOptions(programCollection.usedVulkanVersion, spirvVersion); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsStorage.cpp69 SpirvVersion spirvVersion = SPIRV_VERSION_1_0; in initPrograms() local
74 spirvVersion = SPIRV_VERSION_1_6; in initPrograms()
302 << vk::SpirVAsmBuildOptions(programCollection.usedVulkanVersion, spirvVersion); in initPrograms()
DvktSparseResourcesShaderIntrinsicsSampled.cpp217 SpirvVersion spirvVersion = SPIRV_VERSION_1_0; in initPrograms() local
222 spirvVersion = SPIRV_VERSION_1_6; in initPrograms()
403 << vk::SpirVAsmBuildOptions(programCollection.usedVulkanVersion, spirvVersion); in initPrograms()

123