From 6c0db9fe3c2160b0d1231716aea1a2663b0ae35d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 15 Feb 2016 23:31:25 -0500 Subject: [PATCH] ShaderCache: Remove unnecessary template type specifications These are already inferred through the passed in arguments. --- Source/Core/VideoBackends/D3D12/ShaderCache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoBackends/D3D12/ShaderCache.cpp b/Source/Core/VideoBackends/D3D12/ShaderCache.cpp index 272a6a436b..1152ea19b6 100644 --- a/Source/Core/VideoBackends/D3D12/ShaderCache.cpp +++ b/Source/Core/VideoBackends/D3D12/ShaderCache.cpp @@ -241,7 +241,7 @@ void ShaderCache::HandleGSUIDChange(GeometryShaderUid gs_uid, u32 gs_primitive_t return; } - s_last_geometry_shader_bytecode = InsertByteCode(gs_uid, &s_gs_bytecode_cache, gs_bytecode); + s_last_geometry_shader_bytecode = InsertByteCode(gs_uid, &s_gs_bytecode_cache, gs_bytecode); s_gs_disk_cache.Append(gs_uid, reinterpret_cast(gs_bytecode->GetBufferPointer()), static_cast(gs_bytecode->GetBufferSize())); if (g_ActiveConfig.bEnableShaderDebugging) @@ -278,7 +278,7 @@ void ShaderCache::HandlePSUIDChange(PixelShaderUid ps_uid, DSTALPHA_MODE ps_dst_ return; } - s_last_pixel_shader_bytecode = InsertByteCode(ps_uid, &s_ps_bytecode_cache, ps_bytecode); + s_last_pixel_shader_bytecode = InsertByteCode(ps_uid, &s_ps_bytecode_cache, ps_bytecode); s_ps_disk_cache.Append(ps_uid, reinterpret_cast(ps_bytecode->GetBufferPointer()), static_cast(ps_bytecode->GetBufferSize())); SETSTAT(stats.numPixelShadersAlive, static_cast(s_ps_bytecode_cache.size())); @@ -318,7 +318,7 @@ void ShaderCache::HandleVSUIDChange(VertexShaderUid vs_uid) return; } - s_last_vertex_shader_bytecode = InsertByteCode(vs_uid, &s_vs_bytecode_cache, vs_bytecode); + s_last_vertex_shader_bytecode = InsertByteCode(vs_uid, &s_vs_bytecode_cache, vs_bytecode); s_vs_disk_cache.Append(vs_uid, reinterpret_cast(vs_bytecode->GetBufferPointer()), static_cast(vs_bytecode->GetBufferSize())); SETSTAT(stats.numVertexShadersAlive, static_cast(s_vs_bytecode_cache.size()));