Forráskód Böngészése

In SROAHLSL undo change to legalize input/output condition.

Tex Riddell 7 éve
szülő
commit
ea73161d6f
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      lib/Transforms/Scalar/ScalarReplAggregatesHLSL.cpp

+ 1 - 1
lib/Transforms/Scalar/ScalarReplAggregatesHLSL.cpp

@@ -5955,7 +5955,7 @@ void SROA_Parameter_HLSL::createFlattenedFunction(Function *F) {
         }
       }
     }
-    if (!F->isDeclaration() && hasShaderInputOutput) {
+    if (!F->isDeclaration()) {
       // Support store to input and load from output.
       LegalizeDxilInputOutputs(F, funcAnnotation, typeSys);
     }