Update doc for lib_6_1 profile.

Also fix build error caused by lost arg for DXASSERT_LOCALVAR.
This commit is contained in:
Xiang Li 2017-06-19 15:40:23 -07:00
Родитель e9235255b8
Коммит 25a864b578
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -99,7 +99,7 @@ Domain shader (DS) ds_5_0, ds_5_1 ds_6_0
Geometry shader (GS) gs_4_0, gs_4_1, gs_5_0, gs_5_1 gs_6_0
Pixel shader (PS) ps_4_0, ps_4_1, ps_5_0, ps_5_1 ps_6_0
Compute shader (CS) cs_5_0 (cs_4_0 is mapped onto cs_5_0) cs_6_0
Shader library no support no support
Shader library no support lib_6_1
==================== ===================================== ===========
The DXIL verifier ensures that DXIL conforms to the specified shader model.

Просмотреть файл

@ -834,7 +834,7 @@ void GenerateInputOutputUserCall(InputOutputAccessInfo &info, Value *undefVertex
Value *V = stInst->getValueOperand();
Type *Ty = V->getType();
DXASSERT_LOCALVAR(Ty == Ty->getScalarType() && !Ty->isAggregateType(),
"only support scalar here");
Ty, "only support scalar here");
if (ConstantInt *ColIdx = dyn_cast<ConstantInt>(info.vectorIdx)) {
IRBuilder<> Builder(stInst);