rsx/vk: Rework MSAA implementation

This commit is contained in:
kd-11 2022-03-13 11:32:04 +03:00 committed by kd-11
parent 9c5ed01130
commit bc7ed8eaab
30 changed files with 285 additions and 123 deletions

View file

@ -33,14 +33,15 @@ namespace rsx
};
#pragma pack(pop)
struct fragment_program_texture_state
{
u32 texture_dimensions = 0;
u16 redirected_textures = 0;
u16 shadow_textures = 0;
void clear(u32 index);
void import(const fragment_program_texture_state& other, u16 mask);
struct fragment_program_texture_state
{
u32 texture_dimensions = 0;
u16 redirected_textures = 0;
u16 shadow_textures = 0;
u16 multisampled_textures = 0;
void clear(u32 index);
void import(const fragment_program_texture_state& other, u16 mask);
void set_dimension(texture_dimension_extended type, u32 index);
bool operator == (const fragment_program_texture_state& other) const;
};
@ -48,6 +49,7 @@ namespace rsx
struct vertex_program_texture_state
{
u32 texture_dimensions = 0;
u16 multisampled_textures = 0;
void clear(u32 index);
void import(const vertex_program_texture_state& other, u16 mask);