mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
radeonsi: enable KHR_shader_subgroup
Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30610>
This commit is contained in:
parent
1ee612e1ac
commit
48a49c4e04
3 changed files with 11 additions and 0 deletions
|
|
@ -335,6 +335,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
|
|||
GL_EXT_texture_norm16 DONE (freedreno, r600, radeonsi, nvc0i, softpipe, zink, iris, crocus)
|
||||
GL_EXT_texture_sRGB_R8 DONE (all drivers that support GLES 3.0+)
|
||||
GL_KHR_blend_equation_advanced_coherent DONE (freedreno/a6xx, panfrost, zink, asahi, iris/gen9+)
|
||||
GL_KHR_shader_subgroup DONE (radeonsi)
|
||||
GL_KHR_texture_compression_astc_hdr DONE (core only)
|
||||
GL_KHR_texture_compression_astc_sliced_3d DONE (freedreno/a4xx+, r600, radeonsi, panfrost, softpipe, v3d, zink, lima, asahi, iris/gen9+)
|
||||
GL_OES_depth_texture_cube_map DONE (all drivers that support GLSL 1.30+)
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@ VK_EXT_descriptor_buffer on nvk
|
|||
VK_EXT_post_depth_coverage on nvk
|
||||
VK_KHR_video_maintenance1 on radv
|
||||
VK_EXT_legacy_vertex_attributes on nvk
|
||||
GL_KHR_shader_subgroup on radeonsi
|
||||
|
|
|
|||
|
|
@ -414,6 +414,15 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
/* Conversion to nanos from cycles per millisecond */
|
||||
return DIV_ROUND_UP(1000000, sscreen->info.clock_crystal_freq);
|
||||
|
||||
case PIPE_CAP_SHADER_SUBGROUP_SIZE:
|
||||
return 64;
|
||||
case PIPE_CAP_SHADER_SUBGROUP_SUPPORTED_STAGES:
|
||||
return BITFIELD_MASK(PIPE_SHADER_TYPES);
|
||||
case PIPE_CAP_SHADER_SUBGROUP_SUPPORTED_FEATURES:
|
||||
return BITFIELD_MASK(PIPE_SHADER_SUBGROUP_NUM_FEATURES);
|
||||
case PIPE_CAP_SHADER_SUBGROUP_QUAD_ALL_STAGES:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return u_pipe_screen_get_param_defaults(pscreen, param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue