mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-07 10:28:25 +02:00
nir/print: print per_vertex for variables
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40412>
This commit is contained in:
parent
c8ee998b13
commit
fbf3305c1b
1 changed files with 3 additions and 2 deletions
|
|
@ -953,10 +953,11 @@ print_var_decl(nir_variable *var, print_state *state)
|
|||
const char *const inv = (var->data.invariant) ? "invariant " : "";
|
||||
const char *const per_view = (var->data.per_view) ? "per_view " : "";
|
||||
const char *const per_primitive = (var->data.per_primitive) ? "per_primitive " : "";
|
||||
const char *const per_vertex = (var->data.per_vertex) ? "per_vertex " : "";
|
||||
const char *const ray_query = (var->data.ray_query) ? "ray_query " : "";
|
||||
const char *const fb_fetch = var->data.fb_fetch_output ? "fb_fetch_output " : "";
|
||||
fprintf(fp, "%s%s%s%s%s%s%s%s%s%s %s ",
|
||||
bindless, cent, samp, patch, inv, per_view, per_primitive,
|
||||
fprintf(fp, "%s%s%s%s%s%s%s%s%s%s%s %s ",
|
||||
bindless, cent, samp, patch, inv, per_view, per_primitive, per_vertex,
|
||||
ray_query, fb_fetch,
|
||||
get_variable_mode_str(var->data.mode, false),
|
||||
glsl_interp_mode_name(var->data.interpolation));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue