ShaderGen: Remove host state from shader uids

This commit is contained in:
Stenzek
2017-06-24 18:18:53 +10:00
parent c207a1072d
commit 82c27182a8
8 changed files with 139 additions and 154 deletions

View File

@ -15,18 +15,10 @@ enum class APIType;
struct geometry_shader_uid_data
{
u32 NumValues() const { return sizeof(geometry_shader_uid_data); }
bool IsPassthrough() const
{
return primitive_type == PRIMITIVE_TRIANGLES && !stereo && !wireframe;
}
bool IsPassthrough() const;
u32 stereo : 1;
u32 numTexGens : 4;
u32 pixel_lighting : 1;
u32 primitive_type : 2;
u32 wireframe : 1;
u32 msaa : 1;
u32 ssaa : 1;
};
#pragma pack()