Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Emil Velikov
mesa
Commits
6bc42855
Commit
6bc42855
authored
Oct 20, 2017
by
Bas Nieuwenhuizen
Committed by
Dave Airlie
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
radv: enable GS on GFX9
Reviewed-by:
Dave Airlie
<
airlied@redhat.com
>
parent
73749caf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_device.c
+1
-3
No files found.
src/amd/vulkan/radv_device.c
View file @
6bc42855
...
...
@@ -419,8 +419,6 @@ void radv_GetPhysicalDeviceFeatures(
VkPhysicalDevice
physicalDevice
,
VkPhysicalDeviceFeatures
*
pFeatures
)
{
RADV_FROM_HANDLE
(
radv_physical_device
,
pdevice
,
physicalDevice
);
bool
is_gfx9
=
pdevice
->
rad_info
.
chip_class
>=
GFX9
;
memset
(
pFeatures
,
0
,
sizeof
(
*
pFeatures
));
*
pFeatures
=
(
VkPhysicalDeviceFeatures
)
{
...
...
@@ -428,7 +426,7 @@ void radv_GetPhysicalDeviceFeatures(
.
fullDrawIndexUint32
=
true
,
.
imageCubeArray
=
true
,
.
independentBlend
=
true
,
.
geometryShader
=
!
is_gfx9
,
.
geometryShader
=
true
,
.
tessellationShader
=
true
,
.
sampleRateShading
=
true
,
.
dualSrcBlend
=
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment