Skip to content

Commit

Permalink
I hope the pixel shader diffs are fixed now
Browse files Browse the repository at this point in the history
Also removed custom diff for .s as Lua
  • Loading branch information
Xottab-DUTY committed Jul 2, 2020
1 parent f30408f commit 6d7ec39
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions res/gamedata/shaders/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# X-Ray blending template
*.s text linguist-language=Lua diff=Lua
*.s text diff linguist-language=Lua

# Git assumes ps is binary, but we use it as a shader file extension
*.ps -binary text linguist-language=HLSL diff=HLSL
# Just an additional fix: unset binary attribute
*.ps -binary

# DirectX renderer shader extension names
r*/*.ps -binary text linguist-language=HLSL diff=HLSL
r*/*.vs text linguist-language=HLSL diff=HLSL
r*/*.gs text linguist-language=HLSL diff=HLSL
r*/*.cs text linguist-language=HLSL diff=HLSL
r*/*.hs text linguist-language=HLSL diff=HLSL
r*/*.ds text linguist-language=HLSL diff=HLSL
r*/*.ps text diff=cpp linguist-language=HLSL
r*/*.vs text diff=cpp linguist-language=HLSL
r*/*.gs text diff=cpp linguist-language=HLSL
r*/*.cs text diff=cpp linguist-language=HLSL
r*/*.hs text diff=cpp linguist-language=HLSL
r*/*.ds text diff=cpp linguist-language=HLSL

# OpenGL renderer uses the same extensions
gl/*.ps -binary text linguist-language=GLSL diff=GLSL
gl/*.vs text linguist-language=GLSL diff=GLSL
gl/*.gs text linguist-language=GLSL diff=GLSL
gl/*.cs text linguist-language=GLSL diff=GLSL
gl/*.hs text linguist-language=GLSL diff=GLSL
gl/*.ds text linguist-language=GLSL diff=GLSL
gl/*.ps text diff=cpp linguist-language=GLSL
gl/*.vs text diff=cpp linguist-language=GLSL
gl/*.gs text diff=cpp linguist-language=GLSL
gl/*.cs text diff=cpp linguist-language=GLSL
gl/*.hs text diff=cpp linguist-language=GLSL
gl/*.ds text diff=cpp linguist-language=GLSL

0 comments on commit 6d7ec39

Please sign in to comment.