mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +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 getDxbcDeviceOptions(const Rc<DxvkDevice>& device) {
|
||||||
DxbcOptions flags;
|
DxbcOptions flags;
|
||||||
|
|
||||||
const VkPhysicalDeviceProperties devProps = device->adapter()->deviceProperties();
|
VkPhysicalDeviceFeatures devFeatures = device->features();
|
||||||
const VkPhysicalDeviceFeatures devFeatures = device->features();
|
|
||||||
|
|
||||||
if (devFeatures.shaderStorageImageReadWithoutFormat)
|
if (devFeatures.shaderStorageImageReadWithoutFormat)
|
||||||
flags.set(DxbcOption::UseStorageImageReadWithoutFormat);
|
flags.set(DxbcOption::UseStorageImageReadWithoutFormat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user