diff options
Diffstat (limited to 'src/freedreno/ir3/ir3_compiler.c')
-rw-r--r-- | src/freedreno/ir3/ir3_compiler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_compiler.c b/src/freedreno/ir3/ir3_compiler.c index ac126d5b98f..b0f2b139d5e 100644 --- a/src/freedreno/ir3/ir3_compiler.c +++ b/src/freedreno/ir3/ir3_compiler.c @@ -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; |