Skip to content

Commit

Permalink
[resources/shaders] Fixed shader compilation when using DX11/12.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Oct 29, 2023
1 parent f568599 commit caaba12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/shaders/game.def.sc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vec2 a_texcoord0 : TEXCOORD0;
vec2 a_texcoord1 : TEXCOORD1;
vec3 a_texcoord2 : TEXCOORD2;

vec4 v_position : POSITION;
vec4 v_position : TEXCOORD3;
vec4 v_normal : NORMAL;
vec4 v_color0 : COLOR0;
vec2 v_texcoord0 : TEXCOORD0;
Expand Down
2 changes: 1 addition & 1 deletion resources/shaders/screen.def.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
vec2 a_position : POSITION;
vec2 a_texcoord0 : TEXCOORD0;

vec2 v_position : POSITION;
vec2 v_position : TEXCOORD1;
vec2 v_texcoord0 : TEXCOORD0;
2 changes: 1 addition & 1 deletion resources/shaders/skybox.def.sc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ vec4 a_position : POSITION;
vec4 a_color0 : COLOR0;
vec2 a_texcoord0 : TEXCOORD0;

vec4 v_position : POSITION;
vec4 v_position : TEXCOORD1;
vec4 v_color0 : COLOR0;
vec2 v_texcoord0 : TEXCOORD0;

0 comments on commit caaba12

Please sign in to comment.