diff options
Diffstat (limited to 'src/sna/gen8_render.c')
-rw-r--r-- | src/sna/gen8_render.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c index 1fb9909a..bed28cab 100644 --- a/src/sna/gen8_render.c +++ b/src/sna/gen8_render.c @@ -640,8 +640,13 @@ static void gen8_emit_null_depth_buffer(struct sna *sna) { OUT_BATCH(GEN8_3DSTATE_DEPTH_BUFFER | (8 - 2)); +#if 0 OUT_BATCH(SURFACE_NULL << DEPTH_BUFFER_TYPE_SHIFT | DEPTHFORMAT_D32_FLOAT << DEPTH_BUFFER_FORMAT_SHIFT); +#else + OUT_BATCH(SURFACE_2D << DEPTH_BUFFER_TYPE_SHIFT | + DEPTHFORMAT_D16_UNORM << DEPTH_BUFFER_FORMAT_SHIFT); +#endif OUT_BATCH64(0); OUT_BATCH(0); OUT_BATCH(0); |