Переглянути джерело

Merge pull request #87247 from bruvzg/win_remove_dxil_check

[Windows] Remove `dxc_path` check.
Rémi Verschelde 1 рік тому
батько
коміт
35aee0e3ad
1 змінених файлів з 0 додано та 4 видалено
  1. 0 4
      platform/windows/detect.py

+ 0 - 4
platform/windows/detect.py

@@ -441,10 +441,6 @@ def configure_msvc(env, vcvars_msvc_config):
             LIBS += ["vulkan"]
             LIBS += ["vulkan"]
 
 
     if env["d3d12"]:
     if env["d3d12"]:
-        if env["dxc_path"] == "":
-            print("The Direct3D 12 rendering driver requires dxc_path to be set.")
-            sys.exit(255)
-
         env.AppendUnique(CPPDEFINES=["D3D12_ENABLED", "RD_ENABLED"])
         env.AppendUnique(CPPDEFINES=["D3D12_ENABLED", "RD_ENABLED"])
         LIBS += ["d3d12", "dxgi", "dxguid"]
         LIBS += ["d3d12", "dxgi", "dxguid"]
         LIBS += ["version"]  # Mesa dependency.
         LIBS += ["version"]  # Mesa dependency.