summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-04-18 10:48:26 +0200
committerMichel Dänzer <[email protected]>2012-04-18 10:48:26 +0200
commitc4bf6517ed9206de96a6c953ea77801aa00b5ab0 (patch)
tree2351eb5beb0578dbc3df92f35c3baabf37cc2e71 /src/gallium/drivers
parent32f7676e9c09d9c13da3fa2518807ab94aad5fb2 (diff)
radeonsi: Fix white border color type in sampler state.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/evergreen_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/evergreen_state.c b/src/gallium/drivers/radeonsi/evergreen_state.c
index 5049c7b2db6..d70eda012f5 100644
--- a/src/gallium/drivers/radeonsi/evergreen_state.c
+++ b/src/gallium/drivers/radeonsi/evergreen_state.c
@@ -1127,7 +1127,7 @@ static void *si_create_sampler_state(struct pipe_context *ctx,
border_color_type = 1;
break;
case 0xFFFFFFFF: /* white */
- border_color_type = 1;
+ border_color_type = 2;
break;
default: /* Use border color pointer */
border_color_type = 3;