mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-25 02:38:42 +00:00
Merge pull request #4291 from degasus/shader_gen
PixelShaderGen: Fix UID issues.
This commit is contained in:
commit
ef1bfc26b2
13 changed files with 36 additions and 52 deletions
|
@ -578,7 +578,7 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode)
|
|||
}
|
||||
|
||||
// Need to compile a new shader
|
||||
ShaderCode code = GeneratePixelShaderCode(dstAlphaMode, APIType::D3D, uid.GetUidData());
|
||||
ShaderCode code = GeneratePixelShaderCode(APIType::D3D, uid.GetUidData());
|
||||
|
||||
D3DBlob* pbytecode;
|
||||
if (!D3D::CompilePixelShader(code.GetBuffer(), &pbytecode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue