projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e4c99
)
i965: Check reg.nr for BRW_ARF_NULL instead of reg.file.
author
Matt Turner
<mattst88@gmail.com>
Mon, 15 Apr 2013 22:00:08 +0000
(15:00 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 18 Apr 2013 01:19:34 +0000
(18:19 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 704f219f6f77356100d292f768d81338c94ec03a..a98892b7a6a17de9cd65e7ae0ad7b190b9f032af 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_eu_emit.c
@@
-182,7
+182,7
@@
validate_reg(struct brw_instruction *insn, struct brw_reg reg)
}
if (reg.file == BRW_ARCHITECTURE_REGISTER_FILE &&
- reg.
file
== BRW_ARF_NULL)
+ reg.
nr
== BRW_ARF_NULL)
return;
assert(reg.hstride >= 0 && reg.hstride < Elements(hstride_for_reg));