From ba78af66c6c484f6e485ea65d7463c0097716097 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 8 Nov 2022 12:05:36 +0100 Subject: 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 Reviewed-by: Adam Jackson Part-of: --- docs/viewperf.rst | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'docs/viewperf.rst') 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 `__ -and -`GL_NV_vertex_program3 `__ -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 `__ -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 -- cgit v1.2.3