mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
nir: Improve the comment on num_inputs and friends
This doesn't fix the problem that no one knows what any of these mean half the time but it at least makes them better documented to hopefully make people's expectations more accurate. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6524>
This commit is contained in:
parent
4d18e71fea
commit
15da983653
1 changed files with 3 additions and 2 deletions
|
|
@ -3322,8 +3322,9 @@ typedef struct nir_shader {
|
|||
struct exec_list functions; /** < list of nir_function */
|
||||
|
||||
/**
|
||||
* the highest index a load_input_*, load_uniform_*, etc. intrinsic can
|
||||
* access plus one
|
||||
* The size of the variable space for load_input_*, load_uniform_*, etc.
|
||||
* intrinsics. This is in back-end specific units which is likely one of
|
||||
* bytes, dwords, or vec4s depending on context and back-end.
|
||||
*/
|
||||
unsigned num_inputs, num_uniforms, num_outputs;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue