mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-18 12:55:19 +00:00
rsx: Add floor workaround for GPUs with rounding issues
- Mainly affects nvidia where x/w * w can sometimes return a value smaller than x. In such conditions, floor(x) will return x-1 if x is an integer which is horribly wrong and exaggerates minor precision drift to great proportions.
This commit is contained in:
parent
2d3fe7ce1c
commit
20bd723e7c
4 changed files with 20 additions and 3 deletions
|
|
@ -294,6 +294,7 @@ public:
|
|||
{
|
||||
bool has_native_half_support = false;
|
||||
bool emulate_depth_compare = false;
|
||||
bool has_low_precision_rounding = false;
|
||||
}
|
||||
device_props;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue