From 4fed7521f7fde3cec7dfdd78e2b2daafa0597970 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 6 Mar 2018 17:02:47 +0100 Subject: [PATCH] [d3d11] Enabled tessellation shaders Note that applications that require tessellation support will not work as of yet. --- src/d3d11/d3d11_device.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp index 86f861d40..e54e1f571 100644 --- a/src/d3d11/d3d11_device.cpp +++ b/src/d3d11/d3d11_device.cpp @@ -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;