Mesa (master): i965/blorp: Set regs_written on texturing instructions

Kenneth Graunke kwg at kemper.freedesktop.org
Wed Apr 27 02:59:20 UTC 2016


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

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Oct 12 14:04:05 2015 -0700

i965/blorp: Set regs_written on texturing instructions

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

---

 src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
index b095421..99b4ff5 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
@@ -96,6 +96,7 @@ brw_blorp_eu_emitter::emit_texture_lookup(const struct brw_reg &dst,
    inst->base_mrf = base_mrf;
    inst->mlen = msg_length;
    inst->header_size = 0;
+   inst->regs_written = 8;
 
    insts.push_tail(inst);
 }




More information about the mesa-commit mailing list