Module: Mesa
Branch: master
Commit: c4bf6517ed9206de96a6c953ea77801aa00b5ab0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4bf6517ed9206de96a6c953ea77801aa00b5ab0

Author: Michel Dänzer <[email protected]>
Date:   Wed Apr 18 10:48:26 2012 +0200

radeonsi: Fix white border color type in sampler state.

---

 src/gallium/drivers/radeonsi/evergreen_state.c |    2 +-
 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 5049c7b..d70eda0 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to