Ver código fonte

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 <plamena.manolova@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
tags/19.3-branchpoint
Plamena Manolova 6 anos atrás
pai
commit
f9ad73cdfd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/intel/vulkan/anv_device.c

+ 1
- 1
src/intel/vulkan/anv_device.c Ver arquivo

@@ -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,

Carregando…
Cancelar
Salvar