mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 02:04:41 +08:00
docs/nir: vec4 reference
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28499>
This commit is contained in:
parent
c7da4a97fb
commit
f6702bb91f
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user