Skip to content

Commit 27a45d1

Browse files
committed
Graphics Engine: fixTestV & TestF
1 parent 10274a7 commit 27a45d1

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/engine/renderer-vulkan/GraphicsEngine/TestF.glsl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ BufferWS restrict IndexCache {
4949
};
5050

5151
layout ( scalar, push_constant ) uniform Push {
52-
MsgStreamRead msgStreamRead;
53-
MsgStreamWrite msgStreamWrite;
5452
VertexCache vertexCache;
5553
IndexCache indexCache;
5654
} push;

src/engine/renderer-vulkan/GraphicsEngine/TestV.glsl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ BufferWS restrict IndexCache {
4949
};
5050

5151
layout ( 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;
6058
void 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
}

0 commit comments

Comments
 (0)