i965/gen7: Enable SIMD16 fragment shader dispatch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke
2011-06-06 11:14:15 -07:00
parent 2a63807616
commit acf82657f4

View File

@@ -232,9 +232,13 @@ upload_ps_state(struct brw_context *brw)
OUT_BATCH(0); /* scratch space base offset */
OUT_BATCH(dw4);
OUT_BATCH(dw5);
/* FINISHME: need to upload the SIMD16 program */
OUT_BATCH(0); /* kernel 1 pointer */
if (brw->wm.prog_data->prog_offset_16) {
OUT_RELOC(brw->wm.prog_bo, I915_GEM_DOMAIN_INSTRUCTION, 0,
brw->wm.prog_data->prog_offset_16);
} else {
OUT_BATCH(0); /* kernel 2 pointer */
}
ADVANCE_BATCH();
}