mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-28 20:54:00 +08:00
st/mesa: turn on OES_viewport_array when dependencies are met
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
0f01aa8033
commit
c0a7e931e3
@ -319,7 +319,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
|
||||
GL_OES_texture_half_float DONE (i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe)
|
||||
GL_OES_texture_half_float_linear DONE (i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe)
|
||||
GL_OES_texture_view not started - based on GL_ARB_texture_view
|
||||
GL_OES_viewport_array not started - based on GL_ARB_viewport_array and GL_ARB_fragment_layer_viewport
|
||||
GL_OES_viewport_array DONE (nvc0, radeonsi)
|
||||
GLX_ARB_context_flush_control not started
|
||||
GLX_ARB_robustness_application_isolation not started
|
||||
GLX_ARB_robustness_share_group_isolation not started
|
||||
|
@ -65,6 +65,7 @@ Note: some of the new features are only available with certain drivers.
|
||||
<li>GL_OES_primitive_bounding_box on i965/gen7+, nvc0, radeonsi</li>
|
||||
<li>GL_OES_texture_cube_map_array on i965/gen8+, nvc0, radeonsi</li>
|
||||
<li>GL_OES_tessellation_shader on i965/gen7+, nvc0, radeonsi</li>
|
||||
<li>GL_OES_viewport_array on nvc0, radeonsi</li>
|
||||
<li>GL_ANDROID_extension_pack_es31a on i965/gen9+</li>
|
||||
</ul>
|
||||
|
||||
|
@ -1226,6 +1226,11 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||
extensions->OES_geometry_shader &&
|
||||
extensions->ARB_texture_cube_map_array;
|
||||
|
||||
extensions->OES_viewport_array =
|
||||
extensions->ARB_ES3_1_compatibility &&
|
||||
extensions->OES_geometry_shader &&
|
||||
extensions->ARB_viewport_array;
|
||||
|
||||
extensions->OES_primitive_bounding_box = extensions->ARB_ES3_1_compatibility;
|
||||
consts->NoPrimitiveBoundingBoxOutput = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user