projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66800a0
)
i965: Assert out on gen6 VS constant buffer reads that hang the GPU for now.
author
Eric Anholt
<eric@anholt.net>
Mon, 18 Oct 2010 19:41:10 +0000
(12:41 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 18 Oct 2010 19:56:44 +0000
(12:56 -0700)
src/mesa/drivers/dri/i965/brw_vs_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vs_emit.c
b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index e2bff1386b89d14050e7c93538d4cb7ae18b6170..ce334799965691c20d48d68ecd443327785bcf16 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_vs_emit.c
@@
-930,6
+930,8
@@
get_constant(struct brw_vs_compile *c,
assert(argIndex < 3);
+ assert(c->func.brw->intel.gen < 6); /* FINISHME */
+
if (c->current_const[argIndex].index != src->Index) {
/* Keep track of the last constant loaded in this slot, for reuse. */
c->current_const[argIndex].index = src->Index;
@@
-966,6
+968,8
@@
get_reladdr_constant(struct brw_vs_compile *c,
assert(argIndex < 3);
+ assert(c->func.brw->intel.gen < 6); /* FINISHME */
+
/* Can't reuse a reladdr constant load. */
c->current_const[argIndex].index = -1;