mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +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