Skip to content

Commit

Permalink
Temp hlsl fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Jan 19, 2025
1 parent 4a82a7c commit 7924cd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/shaders/line.frag.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#version 450

uniform vec3 color;

in vec3 dummy;
out vec4 frag_color[2];

void main() {
Expand Down
2 changes: 2 additions & 0 deletions base/shaders/line.vert.glsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#version 450

uniform mat4 VP;

in vec3 pos;
out vec3 dummy;

void main() {
gl_Position = mul(vec4(pos, 1.0), VP);
Expand Down
2 changes: 2 additions & 0 deletions base/shaders/line_overlay.frag.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#version 450

uniform vec3 color;

in vec3 dummy;
out vec4 fragColor;

void main() {
Expand Down

0 comments on commit 7924cd9

Please sign in to comment.