|
|
@@ -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);
|
|
|
}
|