projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28039ff
)
i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.
author
Eric Anholt
<eric@anholt.net>
Tue, 10 Nov 2009 18:43:19 +0000
(10:43 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 10 Nov 2009 18:46:57 +0000
(10:46 -0800)
Fixes piglit arl.vp.
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 1638ef81115910bcbebd8524e5446e13b3f3a7ed..604d63d5f24b24136c30be16a02a186b0eddf8b6 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_vs_emit.c
@@
-912,6
+912,7
@@
get_src_reg( struct brw_vs_compile *c,
case PROGRAM_CONSTANT:
case PROGRAM_UNIFORM:
case PROGRAM_ENV_PARAM:
+ case PROGRAM_LOCAL_PARAM:
if (c->vp->use_const_buffer) {
return get_constant(c, inst, argIndex);
}
@@
-930,7
+931,6
@@
get_src_reg( struct brw_vs_compile *c,
/* this is a normal case since we loop over all three src args */
return brw_null_reg();
- case PROGRAM_LOCAL_PARAM:
case PROGRAM_WRITE_ONLY:
default:
assert(0);