mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
glsl: copy the new data fields when converting to nir
These fields added in the previous commit will be used to make use of a NIR based GLSL linker. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
parent
56c25b938c
commit
3c364f90fd
1 changed files with 4 additions and 0 deletions
|
|
@ -450,6 +450,10 @@ nir_visitor::visit(ir_variable *ir)
|
|||
var->data.stream = ir->data.stream;
|
||||
if (ir->data.stream & (1u << 31))
|
||||
var->data.stream |= NIR_STREAM_PACKED;
|
||||
|
||||
var->data.precision = ir->data.precision;
|
||||
var->data.explicit_location = ir->data.explicit_location;
|
||||
var->data.from_named_ifc_block = ir->data.from_named_ifc_block;
|
||||
var->data.compact = false;
|
||||
|
||||
switch(ir->data.mode) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue