New SPIR-V capability for SPV_AMD_shader_image_load_store_lod.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
bool amd_gcn_shader;
bool amd_shader_ballot;
bool amd_trinary_minmax;
+ bool amd_image_read_write_lod;
};
typedef struct shader_info {
spv_check_supported(vk_memory_model_device_scope, cap);
break;
+ case SpvCapabilityImageReadWriteLodAMD:
+ spv_check_supported(amd_image_read_write_lod, cap);
+ break;
+
default:
vtn_fail("Unhandled capability: %s (%u)",
spirv_capability_to_string(cap), cap);