mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
vk: Properly test MSAA sample mask when switching between states inside a RSX renderpass.
- Before, these changes would be lost if the same RTT config was used with varying mask setups
This commit is contained in:
parent
c900fb0d77
commit
bd4d86f87a
@ -40,6 +40,9 @@ namespace vk
|
||||
{
|
||||
if (memcmp(&state.ms, &other.state.ms, sizeof(VkPipelineMultisampleStateCreateInfo)))
|
||||
return false;
|
||||
|
||||
if (state.temp_storage.msaa_sample_mask != other.state.temp_storage.msaa_sample_mask)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
@ -57,6 +60,7 @@ namespace rpcs3
|
||||
seed ^= hash_struct(pipelineProperties.state.ds);
|
||||
seed ^= hash_struct(pipelineProperties.state.rs);
|
||||
seed ^= hash_struct(pipelineProperties.state.ms);
|
||||
seed ^= hash_base(pipelineProperties.state.temp_storage.msaa_sample_mask);
|
||||
|
||||
// Do not compare pointers to memory!
|
||||
VkPipelineColorBlendStateCreateInfo tmp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user