projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7c940e
)
shader compiler: add new VertexIndex
author
GregF
<greg@LunarG.com>
Wed, 20 Jan 2016 23:37:18 +0000
(16:37 -0700)
committer
GregF
<greg@LunarG.com>
Thu, 21 Jan 2016 17:04:29 +0000
(10:04 -0700)
LunarGLASS_revision_R32
patch
|
blob
|
history
demos/cube.vert
patch
|
blob
|
history
diff --git
a/LunarGLASS_revision_R32
b/LunarGLASS_revision_R32
index
13e9a8b
..
444efaf
100644
(file)
--- a/
LunarGLASS_revision_R32
+++ b/
LunarGLASS_revision_R32
@@
-1
+1
@@
-323
2
1
+323
7
1
diff --git
a/demos/cube.vert
b/demos/cube.vert
index
70829ad
..
87729e5
100644
(file)
--- a/
demos/cube.vert
+++ b/
demos/cube.vert
@@
-18,8
+18,8
@@
out gl_PerVertex {
void main()
{
- texcoord = ubuf.attr[gl_VertexI
D
];
- gl_Position = ubuf.MVP * ubuf.position[gl_VertexI
D
];
+ texcoord = ubuf.attr[gl_VertexI
ndex
];
+ gl_Position = ubuf.MVP * ubuf.position[gl_VertexI
ndex
];
// GL->VK conventions
gl_Position.y = -gl_Position.y;