aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad_stencil.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-30 16:41:53 -0600
committerBrian Paul <[email protected]>2008-04-30 16:51:52 -0600
commit18f4d962653cdbb76f08e8498fbbec6e1759f21e (patch)
treecc50b54c0729310aca179d456f58f3741dc0b173 /src/gallium/drivers/softpipe/sp_quad_stencil.c
parentc32477742facd06c22befcd300e9fdfeafb6995b (diff)
gallium: replace old PIPE_FORMAT_U_S8 with PIPE_FORMAT_S8_UNORM
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_stencil.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_stencil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_stencil.c b/src/gallium/drivers/softpipe/sp_quad_stencil.c
index 92a0da00833..b4c7e942fa5 100644
--- a/src/gallium/drivers/softpipe/sp_quad_stencil.c
+++ b/src/gallium/drivers/softpipe/sp_quad_stencil.c
@@ -243,7 +243,7 @@ stencil_test_quad(struct quad_stage *qs, struct quad_header *quad)
stencilVals[j] = tile->data.depth32[y][x] & 0xff;
}
break;
- case PIPE_FORMAT_U_S8:
+ case PIPE_FORMAT_S8_UNORM:
for (j = 0; j < QUAD_SIZE; j++) {
int x = quad->x0 % TILE_SIZE + (j & 1);
int y = quad->y0 % TILE_SIZE + (j >> 1);
@@ -311,7 +311,7 @@ stencil_test_quad(struct quad_stage *qs, struct quad_header *quad)
tile->data.depth32[y][x] = z24s8;
}
break;
- case PIPE_FORMAT_U_S8:
+ case PIPE_FORMAT_S8_UNORM:
for (j = 0; j < QUAD_SIZE; j++) {
int x = quad->x0 % TILE_SIZE + (j & 1);
int y = quad->y0 % TILE_SIZE + (j >> 1);