mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[dxbc] Fix compiler warning
This commit is contained in:
parent
79dc7d8947
commit
f7587014c7
@ -21,8 +21,7 @@ namespace dxvk {
|
||||
DxbcOptions getDxbcDeviceOptions(const Rc<DxvkDevice>& device) {
|
||||
DxbcOptions flags;
|
||||
|
||||
const VkPhysicalDeviceProperties devProps = device->adapter()->deviceProperties();
|
||||
const VkPhysicalDeviceFeatures devFeatures = device->features();
|
||||
VkPhysicalDeviceFeatures devFeatures = device->features();
|
||||
|
||||
if (devFeatures.shaderStorageImageReadWithoutFormat)
|
||||
flags.set(DxbcOption::UseStorageImageReadWithoutFormat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user