[Intel-gfx] [PATCH] tools/null_state/gen9: Send all components in VF state

Mika Kuoppala mika.kuoppala at linux.intel.com
Thu Aug 13 06:11:00 PDT 2015


Fix

commit 59cdc16b1a6f069f944ff17851a59edf8f72d45d
Author: Arun Siluvery <arun.siluvery at linux.intel.com>
Date:   Fri Jul 31 16:27:07 2015 +0100

    tools/null_state/gen9: Send atleast one valid component in VF state

to honor the Reviewed-by, send all four components as noted by
Ben in his review.

Cc: Ben Widawsky <benjamin.widawsky at intel.com>
Cc: Arun Siluvery <arun.siluvery at linux.intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
---
 tools/null_state_gen/intel_renderstate_gen9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/null_state_gen/intel_renderstate_gen9.c b/tools/null_state_gen/intel_renderstate_gen9.c
index b3766ea..37bc675 100644
--- a/tools/null_state_gen/intel_renderstate_gen9.c
+++ b/tools/null_state_gen/intel_renderstate_gen9.c
@@ -442,7 +442,7 @@ int gen9_setup_null_render_state(struct intel_batchbuffer *batch)
 	gen8_emit_vertex_elements(batch);
 
 	OUT_BATCH(GEN9_3DSTATE_COMPONENT_PACKING | 3);
-	OUT_BATCH(1);
+	OUT_BATCH(0xf);
 	OUT_BATCH(0);
 	OUT_BATCH(0);
 	OUT_BATCH(0);
-- 
2.1.4



More information about the Intel-gfx mailing list