nir/spirv: plumb through the type of dereferences
We need this to know if a deref is of a builtin.
This commit is contained in:
@@ -117,7 +117,10 @@ struct vtn_value {
|
||||
nir_constant *constant;
|
||||
const struct glsl_type *const_type;
|
||||
};
|
||||
nir_deref_var *deref;
|
||||
struct {
|
||||
nir_deref_var *deref;
|
||||
struct vtn_type *deref_type;
|
||||
};
|
||||
struct vtn_function *func;
|
||||
struct vtn_block *block;
|
||||
struct vtn_ssa_value *ssa;
|
||||
|
Reference in New Issue
Block a user