radeonsi: Fix white border color type in sampler state.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 18 Apr 2012 08:48:26 +0000 (10:48 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 18 Apr 2012 08:48:26 +0000 (10:48 +0200)
src/gallium/drivers/radeonsi/evergreen_state.c

index 5049c7b2db6bde75ebc07925651b2c1d50b9f0b6..d70eda012f5e34c9b718047374abdfc08123bac6 100644 (file)
@@ -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;