gallium/docs: add reference links for resource_create method
authorGwan-gyeong Mun <elongbug@gmail.com>
Thu, 24 Aug 2017 14:17:33 +0000 (23:17 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 28 Sep 2017 12:20:14 +0000 (13:20 +0100)
It adds reference links for arguments usage and bind of resource_create().

Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/docs/source/screen.rst

index 61cefac1e9c8756bed4efdae156341f405abe30e..f344354e33c1087ac3ac3b6c355a76d654743f3a 100644 (file)
@@ -739,9 +739,9 @@ For cube maps this must be 6, for other textures 1.
 **nr_samples** the nr of msaa samples. 0 (or 1) specifies a resource
 which isn't multisampled.
 
-**usage** one of the PIPE_USAGE flags.
+**usage** one of the :ref:`PIPE_USAGE` flags.
 
-**bind** bitmask of the PIPE_BIND flags.
+**bind** bitmask of the :ref:`PIPE_BIND` flags.
 
 **flags** bitmask of PIPE_RESOURCE_FLAG flags.