diff options
author | Plamena Manolova <[email protected]> | 2019-10-28 23:47:39 +0000 |
---|---|---|
committer | Plamena Manolova <[email protected]> | 2019-10-29 16:05:33 +0000 |
commit | f9ad73cdfd25753a24f492dfc8d782473c67f7df (patch) | |
tree | 9fa829c098726c5748246e842a7b319cb5b61abe | |
parent | e6c8750278584419b55c1ab9e0724e8a4500f4bf (diff) |
anv: Set depthBounds to true in anv_GetPhysicalDeviceFeatures.
Add depth bounds testing to the list of supported
physical device features.
Signed-off-by: Plamena Manolova <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 75654da8f24..3576892471c 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -961,7 +961,7 @@ void anv_GetPhysicalDeviceFeatures( .depthClamp = true, .depthBiasClamp = true, .fillModeNonSolid = true, - .depthBounds = false, + .depthBounds = pdevice->info.gen >= 12, .wideLines = true, .largePoints = true, .alphaToOne = true, |