diff --git a/drivers/d3d12/SCsub b/drivers/d3d12/SCsub index bbe932d227d..4a1dfc25dc5 100644 --- a/drivers/d3d12/SCsub +++ b/drivers/d3d12/SCsub @@ -45,6 +45,7 @@ if env["use_pix"]: if "dcomp" in env.get("supported", []): env_d3d12_rdd.Append(CPPDEFINES=["DCOMP_ENABLED"]) + env.Append(CPPDEFINES=["DCOMP_ENABLED"]) # Used in header included in platform. # Mesa (SPIR-V to DXIL functionality).