vc4: Upload CS/VS UBO uniforms together.
[mesa.git] / src / freedreno / ir3 / ir3_compiler.c
index ac126d5b98f94692adf8aaea9a34609fa3cdf9b1..b0f2b139d5ed617780eebd7465d6498ef2160379 100644 (file)
@@ -52,6 +52,10 @@ struct ir3_compiler * ir3_compiler_create(struct fd_device *dev, uint32_t gpu_id
        compiler->gpu_id = gpu_id;
        compiler->set = ir3_ra_alloc_reg_set(compiler);
 
+       if (compiler->gpu_id >= 600) {
+               compiler->samgq_workaround = true;
+       }
+
        if (compiler->gpu_id >= 400) {
                /* need special handling for "flat" */
                compiler->flat_bypass = true;