Module: Mesa
Branch: master
Commit: 45eb06566830eb49551c27262cdd936bf42ec922
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=45eb06566830eb49551c27262cdd936bf42ec922

Author: Matt Turner <[email protected]>
Date:   Sun Aug 17 00:45:27 2014 -0700

i965: Enable instruction compaction on Gen8+.

Reviewed-by: Kenneth Graunke <[email protected]>

---

 src/mesa/drivers/dri/i965/brw_eu_compact.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c 
b/src/mesa/drivers/dri/i965/brw_eu_compact.c
index 6b1cf12..3680c55 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_compact.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c
@@ -1099,7 +1099,7 @@ brw_compact_instructions(struct brw_compile *p, int 
start_offset,
     */
    int old_ip[(p->next_insn_offset - start_offset) / 8];
 
-   if (brw->gen < 6 || brw->gen >= 8)
+   if (brw->gen < 6)
       return;
 
    int src_offset;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to