projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d958d
)
radv: Support VkPhysicalDeviceShaderDrawParameterFeatures.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 14:57:59 +0000
(15:57 +0100)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Wed, 7 Mar 2018 20:18:35 +0000
(21:18 +0100)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index 4eab9faf3f31b6ac96629d732ff1d04a76383787..a791d3a7e4c461e612dd4218d2d7d18371302bd5 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-666,6
+666,12
@@
void radv_GetPhysicalDeviceFeatures2(
features->multiviewTessellationShader = true;
break;
}
+ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: {
+ VkPhysicalDeviceShaderDrawParameterFeatures *features =
+ (VkPhysicalDeviceShaderDrawParameterFeatures*)ext;
+ features->shaderDrawParameters = true;
+ break;
+ }
default:
break;
}