Added support to DirectX Agility Sdk to enable shader model 6.6+ on windows 10.

This commit is contained in:
2025-03-22 00:09:48 -04:00
parent 4e0aaa129f
commit f4c82f0fb3
42 changed files with 78598 additions and 51 deletions

View File

@@ -207,9 +207,9 @@ void JulietApplication::Update()
String entryPoint = WrapString("main");
ShaderCreateInfo shaderCI = {};
shaderCI.EntryPoint = entryPoint;
String shaderPath = WrapString("../../../Assets/compiled/Triangle.vert.dxil");
shaderCI.Stage = ShaderStage::Vertex;
Shader* vertexShader = CreateShader(GraphicsDevice, shaderPath, shaderCI);
String shaderPath = WrapString("../../../Assets/compiled/Triangle.vert.dxil");
shaderCI.Stage = ShaderStage::Vertex;
Shader* vertexShader = CreateShader(GraphicsDevice, shaderPath, shaderCI);
shaderPath = WrapString("../../../Assets/compiled/SolidColor.frag.dxil");
shaderCI.Stage = ShaderStage::Fragment;