shader_global_build_options.json 1.1 KB

12345678910111213141516171819202122232425262728
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "GlobalBuildOptions",
  5. "ClassData": {
  6. "PreprocessorOptions" : {
  7. "predefinedMacros": ["AZSL=17"],
  8. // These include paths are already part of the automatic include folders list.
  9. // By specifying them here, we are boosting the priority of these folders above all the other automatic include folders.
  10. // (This is not necessary for the project, but just shown as a usage example.)
  11. "projectIncludePaths": [
  12. "Gems/Atom/RPI/Assets/ShaderLib",
  13. "Gems/Atom/Feature/Common/Assets/ShaderLib"
  14. ]
  15. },
  16. "ShaderCompilerArguments" : {
  17. "AzslcWarningLevel" : 1,
  18. "AzslcWarningAsError" : false,
  19. "AzslcAdditionalFreeArguments" : "--strip-unused-srgs",
  20. "DxcDisableWarnings" : false,
  21. "DxcWarningAsError" : false,
  22. "DxcDisableOptimizations" : false,
  23. "DxcOptimizationLevel" : 3,
  24. "DxcAdditionalFreeArguments" : "",
  25. "DefaultMatrixOrder" : "Row"
  26. }
  27. }
  28. }