compile_shaders_xbox.bat 848 B

12345678910111213141516171819202122232425
  1. if %2.==one. goto setxboxone
  2. rem Xbox Series compile
  3. set DXC="%GameDKLatest%\GXDK\bin\Scarlett\DXC.exe"
  4. set SUFFIX=_Series.h
  5. goto startbuild
  6. :setxboxone
  7. set DXC="%GameDKLatest%\GXDK\bin\XboxOne\DXC.exe"
  8. set SUFFIX=_One.h
  9. :startbuild
  10. echo Building with %DXC%
  11. echo Suffix %SUFFIX%
  12. cd "%~dp0"
  13. %DXC% -E main -T ps_6_0 -Fh color.frag.dxil%SUFFIX% color.frag.hlsl
  14. %DXC% -E main -T ps_6_0 -Fh texture_advanced.frag.dxil%SUFFIX% texture_advanced.frag.hlsl
  15. %DXC% -E main -T ps_6_0 -Fh texture_rgba.frag.dxil%SUFFIX% texture_rgba.frag.hlsl
  16. %DXC% -E main -T ps_6_0 -Fh texture_rgb.frag.dxil%SUFFIX% texture_rgb.frag.hlsl
  17. %DXC% -E main -T vs_6_0 -Fh linepoint.vert.dxil%SUFFIX% linepoint.vert.hlsl
  18. %DXC% -E main -T vs_6_0 -Fh tri_color.vert.dxil%SUFFIX% tri_color.vert.hlsl
  19. %DXC% -E main -T vs_6_0 -Fh tri_texture.vert.dxil%SUFFIX% tri_texture.vert.hlsl