summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2016-02-15 21:24:40 -0800
committerKristian Høgsberg Kristensen <[email protected]>2016-02-16 15:43:12 -0800
commit4a2d17f60652f5a57a34d0b099dea95fcda2b362 (patch)
treed387652bb27a037b6eef8211ad454b4aa9b66df7
parentecd1d94d1c74be6481ebc6adde01fe73c7d41331 (diff)
anv: Revise PhysicalDeviceFeatures and remove FINISHME
-rw-r--r--src/vulkan/anv_device.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index 68639068324..dfc29e45444 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -339,13 +339,13 @@ void anv_GetPhysicalDeviceFeatures(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceFeatures* pFeatures)
{
- anv_finishme("Get correct values for PhysicalDeviceFeatures");
+ ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
*pFeatures = (VkPhysicalDeviceFeatures) {
.robustBufferAccess = true,
- .fullDrawIndexUint32 = false,
+ .fullDrawIndexUint32 = true,
.imageCubeArray = false,
- .independentBlend = false,
+ .independentBlend = pdevice->info->gen >= 8,
.geometryShader = true,
.tessellationShader = false,
.sampleRateShading = false,
@@ -365,18 +365,18 @@ void anv_GetPhysicalDeviceFeatures(
.textureCompressionETC2 = true,
.textureCompressionASTC_LDR = true,
.textureCompressionBC = true,
- .occlusionQueryPrecise = false, /* FINISHME */
+ .occlusionQueryPrecise = true,
.pipelineStatisticsQuery = true,
- .vertexPipelineStoresAndAtomics = false,
+ .vertexPipelineStoresAndAtomics = pdevice->info->gen >= 8,
.fragmentStoresAndAtomics = true,
.shaderTessellationAndGeometryPointSize = true,
.shaderImageGatherExtended = true,
.shaderStorageImageExtendedFormats = false,
.shaderStorageImageMultisample = false,
.shaderUniformBufferArrayDynamicIndexing = true,
- .shaderSampledImageArrayDynamicIndexing = false,
- .shaderStorageBufferArrayDynamicIndexing = false,
- .shaderStorageImageArrayDynamicIndexing = false,
+ .shaderSampledImageArrayDynamicIndexing = true,
+ .shaderStorageBufferArrayDynamicIndexing = true,
+ .shaderStorageImageArrayDynamicIndexing = true,
.shaderStorageImageReadWithoutFormat = false,
.shaderStorageImageWriteWithoutFormat = true,
.shaderClipDistance = false,