projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a460df9
)
r600g: fix stencil texturing with Z32_FLOAT_S8X24_UINT
author
Marek Olšák
<maraeo@gmail.com>
Sat, 7 Jul 2012 22:25:36 +0000
(
00:25
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 9 Jul 2012 11:58:00 +0000
(13:58 +0200)
src/gallium/drivers/r600/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_texture.c
b/src/gallium/drivers/r600/r600_texture.c
index 01ab4589e914e6c0a56e24d1a0a7e2690c7b7ca2..d8c5df3159c934aeae568d8ec6371705a5e23e3c 100644
(file)
--- a/
src/gallium/drivers/r600/r600_texture.c
+++ b/
src/gallium/drivers/r600/r600_texture.c
@@
-1078,6
+1078,8
@@
uint32_t r600_translate_texformat(struct pipe_screen *screen,
case PIPE_FORMAT_Z32_FLOAT:
result = FMT_32_FLOAT;
goto out_word4;
+ case PIPE_FORMAT_X32_S8X24_UINT:
+ word4 |= S_038010_NUM_FORMAT_ALL(V_038010_SQ_NUM_FORMAT_INT);
case PIPE_FORMAT_Z32_FLOAT_S8X24_UINT:
result = FMT_X24_8_32_FLOAT;
goto out_word4;