Commit 68242767 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋 Committed by Marge Bot

zink: enable PIPE_CAP_START_INSTANCE

and add feature
Reviewed-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <!8313>
parent 351b6c66
Pipeline #251493 waiting for manual action with stages
in 2 minutes and 29 seconds
......@@ -157,7 +157,7 @@ GL 4.2, GLSL 4.20 -- all DONE: i965/gen7+, nvc0, r600, radeonsi, llvmpipe, virgl
GL_ARB_shader_atomic_counters DONE (freedreno/a5xx+, i965, softpipe, v3d)
GL_ARB_texture_storage DONE (all drivers)
GL_ARB_transform_feedback_instanced DONE (freedreno, i965, nv50, softpipe, swr, v3d, zink)
GL_ARB_base_instance DONE (freedreno, i965, nv50, softpipe, swr, v3d)
GL_ARB_base_instance DONE (freedreno, i965, nv50, softpipe, swr, v3d, zink)
GL_ARB_shader_image_load_store DONE (freedreno/a5xx+, i965, softpipe, v3d)
GL_ARB_conservative_depth DONE (all drivers that support GLSL 1.30)
GL_ARB_shading_language_420pack DONE (all drivers that support GLSL 1.30)
......
......@@ -110,6 +110,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return screen->vk_CmdDrawIndirectCount &&
screen->vk_CmdDrawIndexedIndirectCount;
case PIPE_CAP_START_INSTANCE:
return screen->loader_version >= VK_MAKE_VERSION(1,1,0) &&
screen->info.feats11.shaderDrawParameters;
case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
return screen->info.have_EXT_vertex_attribute_divisor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment