From f6702bb91f2097c906f874938ec466cd8e3fb1dd Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 1 Apr 2024 12:17:02 +0100 Subject: [PATCH] docs/nir: vec4 reference Part-of: --- docs/nir/alu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nir/alu.rst b/docs/nir/alu.rst index ad91c5bee3c..19e63280e13 100644 --- a/docs/nir/alu.rst +++ b/docs/nir/alu.rst @@ -50,7 +50,7 @@ While most instruction types in NIR require vector sizes to perfectly match on inputs and outputs, ALU instruction sources have an additional :c:member:`nir_alu_src.swizzle` field which allows them to act on vectors which are not the native vector size of the instruction. This is ideal for -hardware with a native data type of `vec4` but also means that ALU +hardware with a native data type of :nir:alu-op:`vec4` but also means that ALU instructions are often used (and required) for packing/unpacking vectors for use in other instruction types like intrinsics or texture ops.