profiles/mojoshader_profile_spirv.h
changeset 1299 02d36217591b
parent 1253 c84325b641cc
child 1318 ff4eb6d9c9c2
--- a/profiles/mojoshader_profile_spirv.h	Thu Jul 23 05:12:09 2020 -0400
+++ b/profiles/mojoshader_profile_spirv.h	Thu Jul 23 18:16:22 2020 -0400
@@ -211,6 +211,11 @@
         uint32 idtexbeml;
     } sampler_extras[4];
 
+    // TEX opcode in ps_1_3 and below has one implicit texcoord input attribute for each texture
+    // register. We use this array to hold SSA id of this input attribute (see emit_SPIRV_global
+    // for details).
+    uint32 id_implicit_input[4];
+
     int loop_stack_idx;
     SpirvLoopInfo loop_stack[32];
 } SpirvContext;