From a0bda4665f2c5df9d724180d2c8ae1f787a30c4d Mon Sep 17 00:00:00 2001 From: Preston Hamlin Date: Tue, 9 Mar 2021 14:16:17 -0500 Subject: [PATCH] Add missing RTV to QuadReadTest XML (#3554) The mesh shader path for QuadReadTest expects at least one render target. Without, the test framework attempts to clear a nonexistent RTV resource: D3D12 ERROR: ID3D12CommandList::ClearRenderTargetView: Specified CPU descriptor handle ptr=0xCCCCCCCCCCCCCCCC does not refer to a location in a descriptor heap. The commit in this PR simply adds an RTV, and will proceed through to test completion. (cherry picked from commit a607ce605e3cc5b00337842f5cb32c8dcbb47c8f) --- tools/clang/test/HLSL/ShaderOpArith.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/clang/test/HLSL/ShaderOpArith.xml b/tools/clang/test/HLSL/ShaderOpArith.xml index aa43c2f786..912eb8134b 100644 --- a/tools/clang/test/HLSL/ShaderOpArith.xml +++ b/tools/clang/test/HLSL/ShaderOpArith.xml @@ -288,6 +288,7 @@ RootFlags(ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT), DescriptorTable(UAV(u0), UAV(u1), UAV(u2)) + @@ -309,11 +310,17 @@ + + + + + +