diff options
| author | Tony Wasserka <NeoBrainX@gmail.com> | 2013-09-22 18:07:21 +0200 |
|---|---|---|
| committer | Tony Wasserka <NeoBrainX@gmail.com> | 2013-10-06 13:30:56 +0200 |
| commit | 61ed40749f01eb21c9053bb736a1cc8cc8f05e76 (patch) | |
| tree | be3da4368f6ba6f746c3bcc33be3069bcbade00a /Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | |
| parent | 0e2e71e48345c2010d8a83cde9d6669c3c28a572 (diff) | |
Shader generators: Remove any references to D3D9 and cleanup the affected code.
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp index 1dd98edd2e..56b61e05cd 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp @@ -453,11 +453,11 @@ void PixelShaderCache::Shutdown() bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) { PixelShaderUid uid; - GetPixelShaderUid(uid, dstAlphaMode, API_D3D11, components); + GetPixelShaderUid(uid, dstAlphaMode, API_D3D, components); if (g_ActiveConfig.bEnableShaderDebugging) { PixelShaderCode code; - GeneratePixelShaderCode(code, dstAlphaMode, API_D3D11, components); + GeneratePixelShaderCode(code, dstAlphaMode, API_D3D, components); pixel_uid_checker.AddToIndexAndCheck(code, uid, "Pixel", "p"); } @@ -487,7 +487,7 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) // Need to compile a new shader PixelShaderCode code; - GeneratePixelShaderCode(code, dstAlphaMode, API_D3D11, components); + GeneratePixelShaderCode(code, dstAlphaMode, API_D3D, components); D3DBlob* pbytecode; if (!D3D::CompilePixelShader(code.GetBuffer(), (unsigned int)strlen(code.GetBuffer()), &pbytecode)) |
