mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d11] Ignoring unknown semantics in input layouts
This commit is contained in:
parent
b7ce9660c3
commit
588ceba1d1
@ -308,6 +308,9 @@ namespace dxvk {
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
|
||||
if (viewInfo.numLayers == 0 || viewInfo.numLayers == 0xFFFFFFFF)
|
||||
viewInfo.numLevels = textureInfo.image->info().mipLevels - viewInfo.minLevel;
|
||||
|
||||
if (ppSRView == nullptr)
|
||||
return S_FALSE;
|
||||
|
||||
@ -608,7 +611,7 @@ namespace dxvk {
|
||||
"D3D11Device::CreateInputLayout: No such semantic: ",
|
||||
pInputElementDescs[i].SemanticName,
|
||||
pInputElementDescs[i].SemanticIndex));
|
||||
return E_INVALIDARG;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Create vertex input attribute description
|
||||
|
Loading…
x
Reference in New Issue
Block a user