diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2011-01-24 11:57:17 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2011-01-24 11:57:17 +0000 |
| commit | f33cd7cbbd3daefe8e12593d19e2eb310a10069f (patch) | |
| tree | e7f7d7835d36aaeef075a7505fc26e0da8e19603 /Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | |
| parent | e0c609272110d543941693e3ec6cd8fc0e0934f1 (diff) | |
DX11 code maintenance, part 5:
Move shader and input layout management from EmuGfxState to Vertex/PixelShaderCache and D3DVertexFormat.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6906 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp index e8d9037986..23e01af3bf 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp @@ -348,7 +348,6 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) const PSCacheEntry &entry = iter->second; last_entry = &entry; - D3D::gfxstate->SetPShader(entry.shader); GFX_DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE,true); return (entry.shader != NULL); } @@ -369,7 +368,6 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) g_ps_disk_cache.Sync(); bool result = InsertByteCode(uid, pbytecode->Data(), pbytecode->Size()); - D3D::gfxstate->SetPShader(last_entry->shader); pbytecode->Release(); GFX_DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE, true); return result; |
