freedreno/ir3: Clean up instrlen setup.
[mesa.git] / src / freedreno / ir3 / ir3_compiler.h
index 663e0c531e031522196e64c69b75c9b09d00a0d7..5d7d140e4165f6cf364a1b47c9b5386b30b6526c 100644 (file)
@@ -96,6 +96,11 @@ struct ir3_compiler {
        /* The maximum number of constants, in vec4's, for compute shaders. */
        uint16_t max_const_compute;
 
+       /* Number of instructions that the shader's base address and length
+        * (instrlen divides instruction count by this) must be aligned to.
+        */
+       uint32_t instr_align;
+
        /* on a3xx, the unit of indirect const load is higher than later gens (in
         * vec4 units):
         */