profiles/mojoshader_profile_spirv.h
changeset 1299 02d36217591b
parent 1253 c84325b641cc
child 1318 ff4eb6d9c9c2
equal deleted inserted replaced
1298:b70ccc2c7a51 1299:02d36217591b
   209     struct {
   209     struct {
   210         uint32 idtexbem;
   210         uint32 idtexbem;
   211         uint32 idtexbeml;
   211         uint32 idtexbeml;
   212     } sampler_extras[4];
   212     } sampler_extras[4];
   213 
   213 
       
   214     // TEX opcode in ps_1_3 and below has one implicit texcoord input attribute for each texture
       
   215     // register. We use this array to hold SSA id of this input attribute (see emit_SPIRV_global
       
   216     // for details).
       
   217     uint32 id_implicit_input[4];
       
   218 
   214     int loop_stack_idx;
   219     int loop_stack_idx;
   215     SpirvLoopInfo loop_stack[32];
   220     SpirvLoopInfo loop_stack[32];
   216 } SpirvContext;
   221 } SpirvContext;
   217 
   222 
   218 #endif // if SUPPORT_PROFILE_SPIRV
   223 #endif // if SUPPORT_PROFILE_SPIRV