mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-02 11:52:10 +01:00
[dxvk] Fix nonsensical layout check in ensureImageCompatibility
Derp, this fixes some unnecessary barriers.
This commit is contained in:
parent
0fd00087e9
commit
9aed82c00a
@ -1492,7 +1492,7 @@ namespace dxvk {
|
||||
// Check if we need to insert a barrier and update image properties
|
||||
bool isAccessAndLayoutCompatible = (image->info().stages & usageInfo.stages) == usageInfo.stages
|
||||
&& (image->info().access & usageInfo.access) == usageInfo.access
|
||||
&& (usageInfo.layout && image->info().layout == usageInfo.layout);
|
||||
&& (!usageInfo.layout || image->info().layout == usageInfo.layout);
|
||||
|
||||
// If everything matches already, no need to do anything. Only ensure
|
||||
// that the stable adress bit is respected if set for the first time.
|
||||
|
Loading…
x
Reference in New Issue
Block a user