From: Damien Lespiau Subject: [PATCH 3/4] rendercopy/bdw: Fix the 3DSTATE_HIER_DEPTH_BUFFER instruction length Date: Fri, 22 Nov 2013 18:26:01 +0000 Message-ID: <1385144762-13847-4-git-send-email-damien.lespiau@intel.com> References: <1385144762-13847-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id D034BFACF5 for ; Fri, 22 Nov 2013 10:26:14 -0800 (PST) In-Reply-To: <1385144762-13847-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Damien Lespiau --- lib/rendercopy_gen8.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c index 8bcf2bb..0eeb179 100644 --- a/lib/rendercopy_gen8.c +++ b/lib/rendercopy_gen8.c @@ -783,7 +783,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); -- 1.8.3.1