From 45b4f82091755c07921ee361470d2321d164b559 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 3 Nov 2022 11:04:49 +0100 Subject: [PATCH] docs/gallium: fixup broken markup Reviewed-by: Yonggang Luo Part-of: --- docs/gallium/screen.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst index b7ab01cbdd3..acd9ae26c0e 100644 --- a/docs/gallium/screen.rst +++ b/docs/gallium/screen.rst @@ -686,13 +686,15 @@ support different features. to any shader stage using ``set_constant_buffer``. If 0 or 1, the pipe will only permit binding one constant buffer per shader. -If a value greater than 0 is returned, the driver can have multiple -constant buffers bound to shader stages. The CONST register file is -accessed with two-dimensional indices, like in the example below. + If a value greater than 0 is returned, the driver can have multiple + constant buffers bound to shader stages. The CONST register file is + accessed with two-dimensional indices, like in the example below. -DCL CONST[0][0..7] # declare first 8 vectors of constbuf 0 -DCL CONST[3][0] # declare first vector of constbuf 3 -MOV OUT[0], CONST[0][3] # copy vector 3 of constbuf 0 + :: + + DCL CONST[0][0..7] # declare first 8 vectors of constbuf 0 + DCL CONST[3][0] # declare first vector of constbuf 3 + MOV OUT[0], CONST[0][3] # copy vector 3 of constbuf 0 * ``PIPE_SHADER_CAP_MAX_TEMPS``: The maximum number of temporary registers. * ``PIPE_SHADER_CAP_CONT_SUPPORTED``: Whether continue is supported.