From: Iago Toral Quiroga Date: Tue, 22 Jan 2019 10:27:09 +0000 (+0100) Subject: compiler/spirv: move the check for Int8 capability X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6ee07a664951c11a27d0cfb38e6af218a7ef0a4;p=mesa.git compiler/spirv: move the check for Int8 capability So it is right after the checks for the other various Int* capabilities. Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index b297a4c2e4a..50847bb76a7 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3588,6 +3588,9 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityInt16: spv_check_supported(int16, cap); break; + case SpvCapabilityInt8: + spv_check_supported(int8, cap); + break; case SpvCapabilityTransformFeedback: spv_check_supported(transform_feedback, cap); @@ -3601,10 +3604,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, spv_check_supported(int64_atomics, cap); break; - case SpvCapabilityInt8: - spv_check_supported(int8, cap); - break; - case SpvCapabilityStorageImageMultisample: spv_check_supported(storage_image_ms, cap); break;