projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
softpipe: add missing stencil format case in convert_quad_stencil()
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_quad_depth_test.c
diff --git
a/src/gallium/drivers/softpipe/sp_quad_depth_test.c
b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
index 3127d22d8f4d1fa87c3ea0472b3d1f3304e481b2..15f3a8fd813903fb74416c21bfb361b32b9a2c9c 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_quad_depth_test.c
+++ b/
src/gallium/drivers/softpipe/sp_quad_depth_test.c
@@
-206,6
+206,7
@@
convert_quad_stencil( struct depth_data *data,
case PIPE_FORMAT_Z24_UNORM_S8_USCALED:
case PIPE_FORMAT_X8Z24_UNORM:
case PIPE_FORMAT_S8_USCALED_Z24_UNORM:
+ case PIPE_FORMAT_S8_USCALED:
for (j = 0; j < QUAD_SIZE; j++) {
data->shader_stencil_refs[j] = ((unsigned)(quad->output.stencil[j]));
}