radeonsi: tell LLVM not to remove s_barrier instructions
[mesa.git] / src / gallium / drivers / r600 / r600_shader.h
index 398e7da76666a14db5660dd85a3fd895a14ae8ad..cfdb0200333f4067800909d79ea99d0bdf511d62 100644 (file)
@@ -62,8 +62,8 @@ struct r600_shader {
        unsigned                ninput;
        unsigned                noutput;
        unsigned                nlds;
-       struct r600_shader_io   input[40];
-       struct r600_shader_io   output[40];
+       struct r600_shader_io   input[64];
+       struct r600_shader_io   output[64];
        boolean                 uses_kill;
        boolean                 fs_write_all;
        boolean                 two_side;
@@ -154,6 +154,7 @@ struct r600_pipe_shader {
  TGSI_INTERPOLATE_LOC_CENTER/SAMPLE/COUNT. Other input values return -1. */
 int eg_get_interpolator_index(unsigned interpolate, unsigned location);
 
+int r600_get_lds_unique_index(unsigned semantic_name, unsigned index);
 
 #ifdef __cplusplus
 }  // extern "C"