radv: enable geometryShader and multiViewport capabilities.
authorDave Airlie <airlied@redhat.com>
Fri, 20 Jan 2017 02:42:26 +0000 (12:42 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jan 2017 23:30:53 +0000 (09:30 +1000)
This enables geometry shader support on radv.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 984bd75bb80ffdccf3f986deda9d4369f2dd1fc1..2014ce23b8c20ea03be08bc64055e5e91242f92b 100644 (file)
@@ -428,7 +428,7 @@ void radv_GetPhysicalDeviceFeatures(
                .fullDrawIndexUint32                      = true,
                .imageCubeArray                           = true,
                .independentBlend                         = true,
-               .geometryShader                           = false,
+               .geometryShader                           = true,
                .tessellationShader                       = false,
                .sampleRateShading                        = false,
                .dualSrcBlend                             = true,
@@ -442,7 +442,7 @@ void radv_GetPhysicalDeviceFeatures(
                .wideLines                                = true,
                .largePoints                              = true,
                .alphaToOne                               = true,
-               .multiViewport                            = false,
+               .multiViewport                            = true,
                .samplerAnisotropy                        = true,
                .textureCompressionETC2                   = false,
                .textureCompressionASTC_LDR               = false,