mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
nv50: expose GL ES 3.1 for nva3+ hardware
This hardware supports all of the points of ES 3.1 with the minor exception of non-red gather operations. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Pierre Moreau <dev@pmoreau.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10569>
This commit is contained in:
parent
73a49c84d7
commit
108f34a165
2 changed files with 3 additions and 1 deletions
|
|
@ -2,3 +2,4 @@ zink supports GL_ARB_texture_filter_minmax, GL_ARB_shader_clock
|
|||
VK_EXT_provoking_vertex on RADV.
|
||||
VK_EXT_extended_dynamic_state2 on RADV.
|
||||
32-bit x86 builds now default disable x87 math and use sse2.
|
||||
GL ES 3.1 on GT21x hardware.
|
||||
|
|
|
|||
|
|
@ -129,6 +129,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return 330;
|
||||
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
|
||||
return 330;
|
||||
case PIPE_CAP_ESSL_FEATURE_LEVEL:
|
||||
return class_3d >= NVA3_3D_CLASS ? 310 : 300;
|
||||
case PIPE_CAP_MAX_RENDER_TARGETS:
|
||||
return 8;
|
||||
case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
|
||||
|
|
@ -413,7 +415,6 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
FALLTHROUGH;
|
||||
/* caps where we want the default value */
|
||||
case PIPE_CAP_DMABUF:
|
||||
case PIPE_CAP_ESSL_FEATURE_LEVEL:
|
||||
case PIPE_CAP_THROTTLE:
|
||||
return u_pipe_screen_get_param_defaults(pscreen, param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue