From 05a081f7ee3df244308566f53ed90818c90b1cac Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 19 Oct 2022 13:32:41 +0200 Subject: [PATCH] docs/isl: correct rst-syntax Reviewed-by: Eric Engestrom Reviewed-by: Jason Ekstrand Part-of: --- docs/isl/formats.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/isl/formats.rst b/docs/isl/formats.rst index 71a32158d8c..c70fcdf5d49 100644 --- a/docs/isl/formats.rst +++ b/docs/isl/formats.rst @@ -160,11 +160,11 @@ turn it on and off. In Vulkan, this is all much more straightforward. Your format is sRGB or it isn't. If you have an sRGB image and you don't want sRGB decoding to happen -when you sample from it, you simply create a c:struct:`VkImageView` that has +when you sample from it, you simply create a :c:struct:`VkImageView` that has the appropriate linear format and the data will be treated as linear and not converted. Similarly for render targets, blending always happens in the same colorspace as the shader output and you determine whether or not you want sRGB -conversion by the format of the c:struct:`VkImageView` used as the render +conversion by the format of the :c:struct:`VkImageView` used as the render target. Surface Format Introspection API @@ -172,7 +172,7 @@ Surface Format Introspection API ISL provides an API for introspecting the :cpp:enum:`isl_format` enum and getting various bits of information about a format. ISL provides helpers for -introspecting both the data layout of an cpp:enum:`isl_format` and the +introspecting both the data layout of an :cpp:enum:`isl_format` and the capabilities of that format for a particular piece of Intel hardware. Format Layout Introspection