projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c875e3c
)
i965/vec4: Initialize nir_inputs with src_reg().
author
Matt Turner
<mattst88@gmail.com>
Fri, 20 Nov 2015 05:48:47 +0000
(21:48 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Sat, 21 Nov 2015 01:39:34 +0000
(17:39 -0800)
nir_locals, nir_ssa_values, and nir_system_values are all dst_reg (not
that that makes a whole lot of sense to me), and only nir_inputs is a
src_reg.
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
index 28656d45b33a5e844fa07e240d4eb10401171a8b..7e17a6a62465162ad3db36bfec9f7846d3de8383 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
@@
-122,7
+122,7
@@
vec4_visitor::nir_setup_inputs()
{
nir_inputs = ralloc_array(mem_ctx, src_reg, nir->num_inputs);
for (unsigned i = 0; i < nir->num_inputs; i++) {
- nir_inputs[i] =
dst
_reg();
+ nir_inputs[i] =
src
_reg();
}
nir_foreach_variable(var, &nir->inputs) {