• Home
  • Raw
  • Download

Lines Matching refs:spv

49 namespace spv {  namespace
58 namespace spv { namespace
125 spv::Capability cap = *it; in postProcessType()
126 if (cap == spv::CapabilityStorageInputOutput16 || in postProcessType()
127 cap == spv::CapabilityStoragePushConstant16 || in postProcessType()
128 cap == spv::CapabilityStorageUniformBufferBlock16 || in postProcessType()
129 cap == spv::CapabilityStorageUniform16) { in postProcessType()
144 spv::Capability cap = *it; in postProcessType()
145 if (cap == spv::CapabilityStoragePushConstant8 || in postProcessType()
146 cap == spv::CapabilityUniformAndStorageBuffer8BitAccess || in postProcessType()
147 cap == spv::CapabilityStorageBuffer8BitAccess) { in postProcessType()
161 if (getSpvVersion() < spv::Spv_1_3 && containsType(typeId, OpTypeInt, 16)) in postProcessType()
162 addExtension(spv::E_SPV_AMD_gpu_shader_int16); in postProcessType()
167 if (getSpvVersion() < spv::Spv_1_3 && containsType(typeId, OpTypeFloat, 16)) in postProcessType()
168 addExtension(spv::E_SPV_AMD_gpu_shader_half_float); in postProcessType()
410 addIncorporatedExtension(spv::E_SPV_KHR_8bit_storage, spv::Spv_1_5); in postProcessFeatures()
411 addCapability(spv::CapabilityStorageBuffer8BitAccess); in postProcessFeatures()
415 addIncorporatedExtension(spv::E_SPV_KHR_16bit_storage, spv::Spv_1_3); in postProcessFeatures()
416 addCapability(spv::CapabilityStorageBuffer16BitAccess); in postProcessFeatures()
440 … (decoration.get()->getImmediateOperand(1) == spv::DecorationAliasedPointerEXT || in postProcessFeatures()
441 … decoration.get()->getImmediateOperand(1) == spv::DecorationRestrictPointerEXT)) { in postProcessFeatures()
447 addDecoration(resultId, spv::DecorationAliasedPointerEXT); in postProcessFeatures()
456 if (capabilities.find(spv::CapabilityVulkanMemoryModelKHR) != capabilities.end()) { in postProcessFeatures()
457 memoryModel = spv::MemoryModelVulkanKHR; in postProcessFeatures()
458 addIncorporatedExtension(spv::E_SPV_KHR_vulkan_memory_model, spv::Spv_1_5); in postProcessFeatures()
462 if (capabilities.find(spv::CapabilityWorkgroupMemoryExplicitLayoutKHR) != capabilities.end()) { in postProcessFeatures()
473 if (instr->getOpCode() != spv::OpVariable) in postProcessFeatures()
476 if (instr->getImmediateOperand(0) == spv::StorageClassWorkgroup) in postProcessFeatures()
482 addDecoration(workgroup_variables[i], spv::DecorationAliased); in postProcessFeatures()