mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 17:58:09 +02:00
zink: require vulkan memory model for tesselation
We enable the KHR_vulkan_memory_model extension whenever we use
tesselation, so right now this is a defacto requirement. So let's make
this requirement explicit.
Fixes: f815b87e18 ("zink: export tess shader pipe caps")
Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8655>
This commit is contained in:
parent
c849e15c44
commit
c767383b23
1 changed files with 2 additions and 1 deletions
|
|
@ -409,7 +409,8 @@ zink_get_shader_param(struct pipe_screen *pscreen,
|
|||
return INT_MAX;
|
||||
case PIPE_SHADER_TESS_CTRL:
|
||||
case PIPE_SHADER_TESS_EVAL:
|
||||
if (screen->info.feats.features.tessellationShader &&
|
||||
if (screen->info.have_KHR_vulkan_memory_model &&
|
||||
screen->info.feats.features.tessellationShader &&
|
||||
(screen->instance_info.have_KHR_maintenance2 ||
|
||||
VK_MAKE_VERSION(1,1,0) <= screen->loader_version))
|
||||
return INT_MAX;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue