diff options
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_miptree.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_miptree.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_miptree.c b/src/gallium/drivers/nvc0/nvc0_miptree.c index 5da73df2d9b..8b8e2cfc780 100644 --- a/src/gallium/drivers/nvc0/nvc0_miptree.c +++ b/src/gallium/drivers/nvc0/nvc0_miptree.c @@ -89,6 +89,12 @@ nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) else tile_flags = 0x1100; break; + case PIPE_FORMAT_Z32_FLOAT: + if (compressed) + tile_flags = 0x8600 + (ms << 8); + else + tile_flags = 0x7b00; + break; case PIPE_FORMAT_Z32_FLOAT_S8X24_USCALED: if (compressed) tile_flags = 0xce00 + (ms << 8); |