Skip to content

Commit

Permalink
Fix multi sampling accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jupeyy committed Dec 17, 2023
1 parent 5aa4b58 commit 085a44a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/shader/tile_border.frag
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ uniform sampler2DArray gTextureSampler;
uniform vec4 gVertColor;

#ifdef TW_TILE_TEXTURED
noperspective in vec3 TexCoord;
noperspective in centroid vec3 TexCoord;
#endif

out vec4 FragClr;
Expand Down
2 changes: 1 addition & 1 deletion data/shader/vulkan/tile_border.frag
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ layout(push_constant) uniform SVertexColorBO {
} gColorBO;

#ifdef TW_TILE_TEXTURED
layout (location = 0) noperspective in vec3 TexCoord;
layout (location = 0) noperspective centroid in vec3 TexCoord;
#endif

layout (location = 0) out vec4 FragClr;
Expand Down

0 comments on commit 085a44a

Please sign in to comment.