Pārlūkot izejas kodu

[ATORawGather] Remove unreferenced local variable (#4418)

This is causing VS2022 builds to fail with warnings-as-errors enabled.
Justin Holewinski 3 gadi atpakaļ
vecāks
revīzija
e3a853a657
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      tools/clang/unittests/HLSL/ExecutionTest.cpp

+ 0 - 1
tools/clang/unittests/HLSL/ExecutionTest.cpp

@@ -4698,7 +4698,6 @@ TEST_F(ExecutionTest, ATORawGather) {
   static const int NumThreadsX = 32;
   static const int NumThreadsY = 32;
   static const int ThreadsPerGroup = NumThreadsX * NumThreadsY;
-  const size_t valueSize = ThreadsPerGroup;
 
   // Create an array of texture variants with the raw texture base class
   // Then plug them into DoRawGather to perform the test and evaluate the results for each