freedreno/ir3: Clean up instrlen setup.
[mesa.git] / src / freedreno / ir3 / ir3_compiler.c
index 342282ca7db9d82aeaf315eed8960c81bc90605e..4bc246ba164ed9cfcefcfce0d462c57cb345098d 100644 (file)
@@ -115,6 +115,7 @@ ir3_compiler_create(struct fd_device *dev, uint32_t gpu_id)
                compiler->unminify_coords = false;
                compiler->txf_ms_with_isaml = false;
                compiler->array_index_add_half = true;
+               compiler->instr_align = 16;
                compiler->const_upload_unit = 4;
        } else {
                /* no special handling for "flat" */
@@ -123,6 +124,7 @@ ir3_compiler_create(struct fd_device *dev, uint32_t gpu_id)
                compiler->unminify_coords = true;
                compiler->txf_ms_with_isaml = true;
                compiler->array_index_add_half = false;
+               compiler->instr_align = 4;
                compiler->const_upload_unit = 8;
        }