[d3d11] Enabled tessellation shaders

Note that applications that require tessellation support
will not work as of yet.
This commit is contained in:
Philip Rebohle 2018-03-06 17:02:47 +01:00
parent 2271814d95
commit 4fed7521f7
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 6 additions and 8 deletions

View File

@ -968,10 +968,9 @@ namespace dxvk {
ID3D11HullShader** ppHullShader) {
D3D11ShaderModule module;
Logger::warn("D3D11: CreateHullShader: Tessellation shaders not yet supported");
// if (FAILED(this->CreateShaderModule(&module,
// pShaderBytecode, BytecodeLength, pClassLinkage)))
// return E_INVALIDARG;
if (FAILED(this->CreateShaderModule(&module,
pShaderBytecode, BytecodeLength, pClassLinkage)))
return E_INVALIDARG;
if (ppHullShader == nullptr)
return S_FALSE;
@ -989,10 +988,9 @@ namespace dxvk {
ID3D11DomainShader** ppDomainShader) {
D3D11ShaderModule module;
Logger::warn("D3D11: CreateDomainShader: Tessellation shaders not yet supported");
// if (FAILED(this->CreateShaderModule(&module,
// pShaderBytecode, BytecodeLength, pClassLinkage)))
// return E_INVALIDARG;
if (FAILED(this->CreateShaderModule(&module,
pShaderBytecode, BytecodeLength, pClassLinkage)))
return E_INVALIDARG;
if (ppDomainShader == nullptr)
return S_FALSE;