mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-19 07:48:52 +00:00
Remove global refrences from common code.
Bug Fix: Previously vertex shaders and geometery shaders didn't track antialaising state in their UIDs, which could cause AA bugs on directx.
This commit is contained in:
parent
0d996f512b
commit
4969415f38
6 changed files with 106 additions and 61 deletions
|
@ -37,10 +37,13 @@ struct vertex_shader_uid_data
|
|||
u32 numColorChans : 2;
|
||||
u32 dualTexTrans_enabled : 1;
|
||||
u32 pixel_lighting : 1;
|
||||
u32 pad : 1;
|
||||
u32 msaa : 1;
|
||||
|
||||
u32 ssaa : 1;
|
||||
u32 texMtxInfo_n_projection : 16; // Stored separately to guarantee that the texMtxInfo struct is
|
||||
// 8 bits wide
|
||||
u32 pad : 15;
|
||||
|
||||
struct
|
||||
{
|
||||
u32 inputform : 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue