diff options
author | Jason Ekstrand <[email protected]> | 2015-01-22 15:49:56 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-22 16:00:34 -0800 |
commit | 6be2434031775f4b44f2ff3db99047c0baefa797 (patch) | |
tree | c87d62077db277d74d01273964f90457a44669b4 /src/mesa | |
parent | 7de8a3e13efe1c3eede531737f6780d388152355 (diff) |
i965/emit: Assert that src1 is not an MRF after doing the MRF->GRF conversion
When emitting texturing from indirect texture units, we need to be able to
scratch around in the header message. Since we only do this for >= HSW,
this is ok since there are no MRFs.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Anuj phogat <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 39b2022bccc..57161e282dc 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -453,12 +453,12 @@ void brw_set_src1(struct brw_compile *p, brw_inst *inst, struct brw_reg reg) { const struct brw_context *brw = p->brw; - assert(reg.file != BRW_MESSAGE_REGISTER_FILE); if (reg.file != BRW_ARCHITECTURE_REGISTER_FILE) assert(reg.nr < 128); gen7_convert_mrf_to_grf(p, ®); + assert(reg.file != BRW_MESSAGE_REGISTER_FILE); validate_reg(brw, inst, reg); |