mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[d3d11] Validate shader creation parameters
This commit is contained in:
parent
800f71c4f5
commit
f3fa2535e8
@ -2022,6 +2022,9 @@ namespace dxvk {
|
||||
size_t BytecodeLength,
|
||||
ID3D11ClassLinkage* pClassLinkage,
|
||||
const DxbcModuleInfo* pModuleInfo) {
|
||||
if (!BytecodeLength || !pShaderBytecode)
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (pClassLinkage != nullptr)
|
||||
Logger::warn("D3D11Device::CreateShaderModule: Class linkage not supported");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user