diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2022-11-08 12:05:36 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-11-09 16:10:55 +0000 |
commit | ba78af66c6c484f6e485ea65d7463c0097716097 (patch) | |
tree | 483b9dcdb5b0371c2ff856e321c204147149c146 /docs/viewperf.rst | |
parent | f69560bdcb96ea0fc0e7ec21c1e267afaace5b0c (diff) | |
download | mesa-ba78af66c6c484f6e485ea65d7463c0097716097.tar.gz mesa-ba78af66c6c484f6e485ea65d7463c0097716097.tar.bz2 mesa-ba78af66c6c484f6e485ea65d7463c0097716097.zip |
docs: use ext-role for GL / VK extensions
This makes sure that we generate proper links to all of these
extensions.
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19594>
Diffstat (limited to 'docs/viewperf.rst')
-rw-r--r-- | docs/viewperf.rst | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/docs/viewperf.rst b/docs/viewperf.rst index 86fec8c81bc..2c0ac89beaa 100644 --- a/docs/viewperf.rst +++ b/docs/viewperf.rst @@ -37,10 +37,8 @@ Catia-03 tests 3, 4, 8 ~~~~~~~~~~~~~~~~~~~~~~ These tests use features of the -`GL_NV_fragment_program2 <https://www.opengl.org/registry/specs/NV/fragment_program2.txt>`__ -and -`GL_NV_vertex_program3 <https://www.opengl.org/registry/specs/NV/vertex_program3.txt>`__ -extensions without checking if the driver supports them. +:ext:`GL_NV_fragment_program2` and :ext:`GL_NV_vertex_program3` extensions +without checking if the driver supports them. When Mesa tries to compile the vertex/fragment programs it generates errors (which Viewperf ignores). Subsequent drawing calls become no-ops @@ -49,9 +47,7 @@ and the rendering is incorrect. sw-02 tests 1, 2, 4, 6 ~~~~~~~~~~~~~~~~~~~~~~ -These tests depend on the -`GL_NV_primitive_restart <https://www.opengl.org/registry/specs/NV/primitive_restart.txt>`__ -extension. +These tests depend on the :ext:`GL_NV_primitive_restart` extension. If the Mesa driver doesn't support this extension the rendering will be incorrect and the test will fail. @@ -211,11 +207,11 @@ catia-04 ~~~~~~~~ One of the catia tests calls wglGetProcAddress() to get some -GL_EXT_direct_state_access functions (such as glBindMultiTextureEXT) and -some GL_NV_half_float functions (such as glMultiTexCoord3hNV). If the -extension/function is not supported, wglGetProcAddress() can return -NULL. Unfortunately, Viewperf doesn't check for null pointers and -crashes when it later tries to use the pointer. +:ext:`GL_EXT_direct_state_access` functions (such as +glBindMultiTextureEXT) and some :ext:`GL_NV_half_float` functions (such +as glMultiTexCoord3hNV). If the extension/function is not supported, +wglGetProcAddress() can return NULL. Unfortunately, Viewperf doesn't check +for null pointers and crashes when it later tries to use the pointer. Another catia test uses OpenGL 3.1's primitive restart feature. But when Viewperf creates an OpenGL context, it doesn't request version 3.1 If |