aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordan sinclair <dsinclair@google.com>2019-05-27 20:07:26 -0400
committerGitHub <noreply@github.com>2019-05-27 20:07:26 -0400
commit47dfd3c7f3e337153ee84556a4558b2ede08c3ab (patch)
treee6f18252668b6ed50b18881a0a4634918ba6cdfc /include
parentdbfc621216f3771e1ce5b1863f9be5443f3da9a4 (diff)
downloadamber-47dfd3c7f3e337153ee84556a4558b2ede08c3ab.tar.gz
Add HLSL support through DXC (#511)
This Cl adds DXC to the Amber third_party directory and enables using HLSL as the shader language in AmberScript. Fixes #34
Diffstat (limited to 'include')
-rw-r--r--include/amber/shader_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/amber/shader_info.h b/include/amber/shader_info.h
index 367c385..d016441 100644
--- a/include/amber/shader_info.h
+++ b/include/amber/shader_info.h
@@ -24,6 +24,7 @@ enum ShaderFormat {
kShaderFormatDefault = 0,
kShaderFormatText,
kShaderFormatGlsl,
+ kShaderFormatHlsl,
kShaderFormatSpirvAsm,
kShaderFormatSpirvHex,
};