<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 12, 2019 at 5:56 AM Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So it is right after the checks for the other various Int* capabilities.<br>
---<br>
src/compiler/spirv/spirv_to_nir.c | 7 +++----<br>
1 file changed, 3 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c<br>
index 1cbc926c818..7e07de2bfc0 100644<br>
--- a/src/compiler/spirv/spirv_to_nir.c<br>
+++ b/src/compiler/spirv/spirv_to_nir.c<br>
@@ -3579,6 +3579,9 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,<br>
case SpvCapabilityInt16:<br>
spv_check_supported(int16, cap);<br>
break;<br>
+ case SpvCapabilityInt8:<br>
+ spv_check_supported(int8, cap);<br>
+ break;<br>
<br>
case SpvCapabilityTransformFeedback:<br>
spv_check_supported(transform_feedback, cap);<br>
@@ -3591,10 +3594,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,<br>
case SpvCapabilityInt64Atomics:<br>
spv_check_supported(int64_atomics, cap);<br>
<br>
- case SpvCapabilityInt8:<br>
- spv_check_supported(int8, cap);<br>
- break;<br>
-<br>
case SpvCapabilityStorageImageMultisample:<br>
spv_check_supported(storage_image_ms, cap);<br>
break;<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a></blockquote></div>