diff options
author | Marek Olšák <[email protected]> | 2019-07-17 19:32:12 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-23 15:03:46 -0400 |
commit | ad642d5b3a8c6c366731bc26551c149e50b83c6c (patch) | |
tree | 42d916c00ccba04de395ca2e89b616236c3929dc | |
parent | 6ac2146a9865f0ccb31dfbd167d1620072d2fb45 (diff) |
radeonsi: stop using info.opcode_count[TGSI_OPCODE_INTERP_SAMPLE]
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index c5e9230b1ca..388bc68adce 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -2007,7 +2007,8 @@ static inline void si_shader_selector_key(struct pipe_context *ctx, sel->info.uses_linear_centroid + sel->info.uses_linear_sample > 1; - if (sel->info.opcode_count[TGSI_OPCODE_INTERP_SAMPLE]) + if (sel->info.uses_persp_opcode_interp_sample || + sel->info.uses_linear_opcode_interp_sample) key->mono.u.ps.interpolate_at_sample_force_center = 1; } |