diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-11-22 18:12:35 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-11-28 14:33:37 +0000 |
commit | 09f144b649176bd80e31ccab65c9206931e6150f (patch) | |
tree | af54ffdecc57c6972665124ba46bbdc036f9cc80 /lib | |
parent | e824fdd0339f5a649aaf54a74694836f55bb0e9c (diff) |
rendercopy/bdw: Fix the 3DSTATE_HIER_DEPTH_BUFFER instruction length
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rendercopy_gen8.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c index 4f748f36..408fcf52 100644 --- a/lib/rendercopy_gen8.c +++ b/lib/rendercopy_gen8.c @@ -784,7 +784,9 @@ gen8_emit_depth(struct intel_batchbuffer *batch) { OUT_BATCH(0); OUT_BATCH(0); - OUT_BATCH(GEN7_3DSTATE_HIER_DEPTH_BUFFER | (3-2)); + OUT_BATCH(GEN7_3DSTATE_HIER_DEPTH_BUFFER | (5 - 2)); + OUT_BATCH(0); + OUT_BATCH(0); OUT_BATCH(0); OUT_BATCH(0); |