|
@@ -1174,8 +1174,8 @@ void GenerateInputOutputUserCall(InputOutputAccessInfo &info, Value *undefVertex
|
|
|
} else {
|
|
|
Value *V = stInst->getValueOperand();
|
|
|
Type *Ty = V->getType();
|
|
|
- DXASSERT(Ty == Ty->getScalarType() && !Ty->isAggregateType(),
|
|
|
- "only support scalar here");
|
|
|
+ DXASSERT_LOCALVAR(Ty, Ty == Ty->getScalarType() && !Ty->isAggregateType(),
|
|
|
+ "only support scalar here");
|
|
|
|
|
|
if (ConstantInt *ColIdx = dyn_cast<ConstantInt>(info.vectorIdx)) {
|
|
|
IRBuilder<> Builder(stInst);
|
|
@@ -3501,4 +3501,4 @@ ModulePass *llvm::createDxilLegalizeEvalOperationsPass() {
|
|
|
|
|
|
INITIALIZE_PASS(DxilLegalizeEvalOperations,
|
|
|
"hlsl-dxil-legalize-eval-operations",
|
|
|
- "DXIL legalize eval operations", false, false)
|
|
|
+ "DXIL legalize eval operations", false, false)
|