summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-07-23 13:04:34 +0200
committerChristoph Bumiller <[email protected]>2012-07-28 13:11:56 +0200
commitcd3d85b63daf59a0574fe99dc516e043a1c9c329 (patch)
tree7fb018becd35e96444e88aa8791dd2af2b627336
parentf612e55e45402c14b2099238e8d41e911932fd26 (diff)
nv50: fix resource_resolve shader start offsets
-rw-r--r--src/gallium/drivers/nv50/nv50_surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c
index 15c88d5316d..0872f8d0dc4 100644
--- a/src/gallium/drivers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -637,14 +637,14 @@ nv50_blitctx_get_color_mask_and_fp(struct nv50_blitctx *blit,
switch (format) {
case PIPE_FORMAT_Z24X8_UNORM:
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
- blit->fp_offset = 160;
+ blit->fp_offset = 0xb0;
if (mask & PIPE_MASK_Z)
blit->color_mask |= 0x0111;
if (mask & PIPE_MASK_S)
blit->color_mask |= 0x1000;
break;
case PIPE_FORMAT_S8_UINT_Z24_UNORM:
- blit->fp_offset = 24;
+ blit->fp_offset = 0x18;
if (mask & PIPE_MASK_Z)
blit->color_mask |= 0x1110;
if (mask & PIPE_MASK_S)