summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_depth.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-03-30 01:35:49 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-03-30 01:35:49 +0200
commit6fb364a1717858d8201b2caf234076ce5d4832ac (patch)
treed5ba16307b15eeec7f1109bde41cc45c4aab6bcd /src/gallium/auxiliary/gallivm/lp_bld_depth.c
parent4e9690f00ca67e42e31367c50f9c216ad10ef553 (diff)
gallium: adapt all code to the renamed depth/stencil formats
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_depth.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_depth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_depth.c b/src/gallium/auxiliary/gallivm/lp_bld_depth.c
index 4ce1a27a06..c6d0e4bc04 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_depth.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_depth.c
@@ -495,8 +495,8 @@ lp_build_depth_stencil_test(LLVMBuilderRef builder,
assert(format_desc->block.height == 1);
if (stencil[0].enabled) {
- assert(format_desc->format == PIPE_FORMAT_Z24S8_UNORM ||
- format_desc->format == PIPE_FORMAT_S8Z24_UNORM);
+ assert(format_desc->format == PIPE_FORMAT_Z24_UNORM_S8_USCALED ||
+ format_desc->format == PIPE_FORMAT_S8_USCALED_Z24_UNORM);
}
assert(z_swizzle < 4);