projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b005fd6
)
anv/meta: Fix the pos_out location for the vertex shader
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 24 Dec 2015 07:32:55 +0000
(23:32 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 29 Dec 2015 02:21:11 +0000
(18:21 -0800)
src/vulkan/anv_meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_meta.c
b/src/vulkan/anv_meta.c
index cf6678d852f892b10d19eda97dd0398c7444a601..c1d600a3ed811a1d2f49d3e031065a459dc80853 100644
(file)
--- a/
src/vulkan/anv_meta.c
+++ b/
src/vulkan/anv_meta.c
@@
-48,7
+48,7
@@
build_nir_vertex_shader(bool attr_flat)
pos_in->data.location = VERT_ATTRIB_GENERIC0;
nir_variable *pos_out = nir_variable_create(b.shader, nir_var_shader_out,
vertex_type, "gl_Position");
- pos_
in
->data.location = VARYING_SLOT_POS;
+ pos_
out
->data.location = VARYING_SLOT_POS;
nir_copy_var(&b, pos_out, pos_in);
/* Add one more pass-through attribute. For clear shaders, this is used