nir: Add nir_var_mem_image
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>
This commit is contained in:
committed by
Marge Bot
parent
872750bb96
commit
de3705edb0
@@ -627,9 +627,8 @@ union packed_instr {
|
||||
unsigned instr_type:4;
|
||||
unsigned deref_type:3;
|
||||
unsigned cast_type_same_as_last:1;
|
||||
unsigned modes:14; /* deref_var redefines this */
|
||||
unsigned modes:15; /* deref_var redefines this */
|
||||
unsigned packed_src_ssa_16bit:1; /* deref_var redefines this */
|
||||
unsigned _pad:1; /* deref_var redefines this */
|
||||
unsigned dest:8;
|
||||
} deref;
|
||||
struct {
|
||||
@@ -970,7 +969,7 @@ static void
|
||||
write_deref(write_ctx *ctx, const nir_deref_instr *deref)
|
||||
{
|
||||
assert(deref->deref_type < 8);
|
||||
assert(deref->modes < (1 << 14));
|
||||
assert(deref->modes < (1 << 15));
|
||||
|
||||
union packed_instr header;
|
||||
header.u32 = 0;
|
||||
|
||||
Reference in New Issue
Block a user