mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
rsx: Remove surface aa_mode hacks
This commit is contained in:
parent
ac3982d2b0
commit
0d906d6974
17 changed files with 644 additions and 809 deletions
|
@ -652,6 +652,23 @@ u8 get_format_block_size_in_bytes(rsx::surface_color_format format)
|
|||
}
|
||||
}
|
||||
|
||||
u8 get_format_sample_count(rsx::surface_antialiasing antialias)
|
||||
{
|
||||
switch (antialias)
|
||||
{
|
||||
case rsx::surface_antialiasing::center_1_sample:
|
||||
return 1;
|
||||
case rsx::surface_antialiasing::diagonal_centered_2_samples:
|
||||
return 2;
|
||||
case rsx::surface_antialiasing::square_centered_4_samples:
|
||||
case rsx::surface_antialiasing::square_rotated_4_samples:
|
||||
return 4;
|
||||
default:
|
||||
ASSUME(0);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns number of texel lines decoded in one pitch-length number of bytes
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue