summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-08-18 23:44:11 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:08 -0800
commit33701d534124fdf19d0542329b9733b803df566f (patch)
tree7aa565175d34584dca77b2e72e8900cf6f2cc0a6 /src/gallium/drivers
parentaba2cee711d0258422d3ef713b9b9de98017ff2b (diff)
iris: Drop bogus sampler state saving
We do this in an earlier loop. This was just reading things out of the array, and saving them back over the same array...but in the wrong slots
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/iris/iris_state.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c
index 3e3de21560a..d0df24cf440 100644
--- a/src/gallium/drivers/iris/iris_state.c
+++ b/src/gallium/drivers/iris/iris_state.c
@@ -1144,11 +1144,6 @@ iris_bind_sampler_states(struct pipe_context *ctx,
for (int i = 0; i < count; i++) {
struct iris_sampler_state *state = ice->state.samplers[stage][i];
- /* Save a pointer to the iris_sampler_state, a few fields need
- * to inform draw-time decisions.
- */
- ice->state.samplers[stage][start + i] = state;
-
if (!state) {
memset(map, 0, 4 * GENX(SAMPLER_STATE_length));
} else if (!state->needs_border_color) {