shader_global_build_options.json 1.2 KB

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