From 6af812f4ec6e73e19650c4ccab17841c68c722e3 Mon Sep 17 00:00:00 2001 From: CodeLikeCXK <44729188+CodeLikeCXK@users.noreply.github.com> Date: Sun, 1 Dec 2024 00:49:10 +0800 Subject: [PATCH] Remove a dx12 error (since the app it's running normally) --- build_ShaderComplier_WindowsOnArm64.cmd | 1 + prog/engine/drv/drv3d_DX12/pipeline.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build_ShaderComplier_WindowsOnArm64.cmd b/build_ShaderComplier_WindowsOnArm64.cmd index 025833114..2471edc16 100644 --- a/build_ShaderComplier_WindowsOnArm64.cmd +++ b/build_ShaderComplier_WindowsOnArm64.cmd @@ -1,5 +1,6 @@ pushd prog\tools\ShaderCompiler2 jam -sPlatformArch=arm64 -sPlatformSpec=vc17 jam -sPlatformArch=arm64 -sPlatformSpec=vc17 -f jamfile-dx12 +jam -sPlatformArch=arm64 -sPlatformSpec=vc17 -f jamfile-hlsl2spirv pause popd diff --git a/prog/engine/drv/drv3d_DX12/pipeline.cpp b/prog/engine/drv/drv3d_DX12/pipeline.cpp index e101c3ce8..fb246d02c 100644 --- a/prog/engine/drv/drv3d_DX12/pipeline.cpp +++ b/prog/engine/drv/drv3d_DX12/pipeline.cpp @@ -1844,7 +1844,7 @@ BasePipeline *PipelineManager::getGraphics(GraphicsProgramID program) { uint32_t index = program.getIndex(); auto &pipelineGroup = graphicsPipelines[program.getGroup()]; - G_ASSERTF(pipelineGroup[index] != nullptr, "getGraphics called for uninitialized graphics pipeline! index was %u", index); + //G_ASSERTF(pipelineGroup[index] != nullptr, "getGraphics called for uninitialized graphics pipeline! index was %u", index); return pipelineGroup[index].get(); }