message: Update benchmark-all.py script to include current examples and support macOS
diff: @@ -10,38 +10,57 @@ EXAMPLES = [
  "computecullandlod",
  "computenbody",
  "computeparticles",
  + "computeraytracing",
  "computeshader",
  + "conditionalrender",
  + "conservativeraster",
  "debugmarker",
  "deferred",
  "deferredmultisampling",
  "deferredshadows",
  + "descriptorindexing",
  + "descriptorsets",
  "displacement",
  "distancefieldfonts",
  + "dynamicrendering",
  "dynamicuniformbuffer",
  "gears",
  "geometryshader",
  + "gltfloading",
  + "gltfscenerendering",
  + "gltfskinning",
  + "graphicspipelinelibrary",
  "hdr",
  "imgui",
  "indirectdraw",
  + "inlineuniformblocks",
  + "inputattachments",
  "instancing",
  - "mesh",
  "multisampling",
  "multithreading",
  + "multiview",
  + "negativeviewportheight",
  "occlusionquery",
  "offscreen",
  + "oit",
  "parallaxmapping",
  "particlefire",
  "pbrbasic",
  "pbribl",
  "pbrtexture",
  "pipelines",
  + "pipelinestatistics",
  "pushconstants",
  + "pushdescriptors",
  "radialblur",
  - "raytracing",
  - "scenerendering",
  + "rayquery",
  + "raytracingbasic",
  + "raytracingcallable",
  + "raytracingreflections",
  + "raytracingshadows",
  "shadowmapping",
  + "shadowmappingcascade",
  "shadowmappingomni",
  - "skeletalanimation",
  "specializationconstants",
  "sphericalenvmapping",
  "ssao",
  @@ -54,9 +73,12 @@ EXAMPLES = [
  "texture3d",
  "texturearray",
  "texturecubemap",
  + "texturecubemaparray",
  "texturemipmapgen",
  "texturesparseresidency",
  "triangle",
  + "variablerateshading",
  + "vertexattributes",
  "viewportarray",
  "vulkanscene"
  ]
  @@ -71,7 +93,7 @@ os.makedirs("./benchmark", exist_ok=True)
  for example in EXAMPLES:
  print("---- (%d/%d) Running %s in benchmark mode ----" % (CURR_INDEX+1, len(EXAMPLES), example))
  - if platform.system() == 'Linux':
  + if platform.system() == 'Linux' or platform.system() == 'Darwin':
  RESULT_CODE = subprocess.call("./%s %s -bf ./benchmark/%s.csv 5" % (example, ARGS, example), shell=True)
  else:
  RESULT_CODE = subprocess.call("%s %s -bf ./benchmark/%s.csv 5" % (example, ARGS, example))
  