docs/nir: vec4 reference

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28499>
This commit is contained in:
Eric Engestrom 2024-04-01 12:17:02 +01:00 committed by Marge Bot
parent c7da4a97fb
commit f6702bb91f
1 changed files with 1 additions and 1 deletions

View File

@ -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.