[D3D12] Add support for building with pre-11.0.0 MinGW versions, make PIX runtime opt-in.

This commit is contained in:
bruvzg
2024-01-26 19:02:06 +02:00
parent 17e7f85c06
commit dfa303f7c4
4 changed files with 25 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ if env["agility_sdk_path"] != "" and os.path.exists(env["agility_sdk_path"]):
# PIX.
if env["pix_path"] != "" and os.path.exists(env["pix_path"]):
if env["use_pix"]:
env_d3d12_rdd.Append(CPPDEFINES=["PIX_ENABLED"])
env_d3d12_rdd.Append(CPPPATH=[env["pix_path"] + "/Include"])