projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac2146
)
radeonsi: stop using info.opcode_count[TGSI_OPCODE_INTERP_SAMPLE]
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 17 Jul 2019 23:32:12 +0000
(19:32 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 23 Jul 2019 19:03:46 +0000
(15:03 -0400)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index c5e9230b1ca590dd8639d064534a6f9381bda7db..388bc68adceed3ee116a4853e3da23c2ac4343f1 100644
(file)
--- 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;
}