Skip to content

Commit

Permalink
Added shadertoolsconfig.json for HLSL highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRichards-Code committed Nov 8, 2024
1 parent c482678 commit a82893f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions shadertoolsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"hlsl.preprocessorDefinitions": {
"vec2": "float2",
"vec3": "float3",
"vec4": "float4",
"char4": "snorm float4",
"uchar4": "unorm float4",
"mat2": "float2x2",
"mat3": "float3x3",
"mat4": "float4x4",
"float16_t": "min16float",
"f16vec2": "min16float2",
"f16vec3": "min16float3",
"f16vec4": "min16float4",
"f16mat2": "min16float2x2",
"f16mat3": "min16float3x3",
"f16mat4": "min16float4x4",
"int16_t": "min16int",
"i16vec2": "min16int2",
"i16vec3": "min16int3",
"i16vec4": "min16int4",
"uint16_t": "min16uint",
"u16vec2": "min16uint2",
"u16vec3": "min16uint3",
"u16vec4": "min16uint4",
"mix": "lerp",
"fract": "frac"
},
"hlsl.additionalIncludeDirectories": [
"../",
"CrossPlatform/Shaders",
"DirectX11/Sfx",
"DirectX12/Sfx",
"Vulkan/Sfx",
"OpenGL/Sfx"
]
}

0 comments on commit a82893f

Please sign in to comment.