File tree Expand file tree Collapse file tree
src/engine/renderer-vulkan/GraphicsEngine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ BufferWS restrict IndexCache {
4949};
5050
5151layout ( scalar, push_constant ) uniform Push {
52- MsgStreamRead msgStreamRead;
53- MsgStreamWrite msgStreamWrite;
5452 VertexCache vertexCache;
5553 IndexCache indexCache;
5654} push;
Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ BufferWS restrict IndexCache {
4949};
5050
5151layout ( scalar, push_constant ) uniform Push {
52- MsgStreamRead msgStreamRead;
53- MsgStreamWrite msgStreamWrite;
5452 VertexCache vertexCache;
5553 IndexCache indexCache;
5654} push;
@@ -60,7 +58,7 @@ layout ( location = 0 ) out vec3 outColour;
6058void main() {
6159 Vertex vertex = push.vertexCache.vertices[gl_VertexIndex];
6260
63- gl_Position = vertex.position;
61+ gl_Position = vec4 ( vertex.position, 1.0 ) ;
6462
6563 outColour = vec3 ( 0.0 , 1.0 , 0.0 );
6664}
You can’t perform that action at this time.
0 commit comments