mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
radeonsi: stop using info.opcode_count[TGSI_OPCODE_INTERP_SAMPLE]
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
This commit is contained in:
parent
6ac2146a98
commit
ad642d5b3a
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue