Searched refs:ir_variable (Results 1 - 25 of 215) sorted by relevance

123456789

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_variable_refcount.h47 ir_variable_refcount_entry(ir_variable *var);
49 ir_variable *var; /* The key: the variable's pointer. */
72 virtual ir_visitor_status visit(ir_variable *);
81 ir_variable_refcount_entry *get_variable_entry(ir_variable *var);
84 * Hash table mapping ir_variable to ir_variable_refcount_entry.
H A Dlower_output_reads.cpp45 * A hash table mapping from the original ir_variable shader outputs
74 const ir_variable * var = static_cast<const ir_variable *>(key);
97 ir_variable *temp = entry ? (ir_variable *) entry->data : NULL;
102 temp = new(var_ctx) ir_variable(ir->var->type, ir->var->name,
122 copy(void *ctx, ir_variable *output, ir_variable *temp)
136 ir->insert_before(copy(ir, (ir_variable *) key, (ir_variable *) dat
[all...]
H A Dlower_blend_equation_advanced.cpp40 blend_multiply(ir_variable *src, ir_variable *dst)
47 blend_screen(ir_variable *src, ir_variable *dst)
54 blend_overlay(ir_variable *src, ir_variable *dst)
68 blend_darken(ir_variable *src, ir_variable *dst)
75 blend_lighten(ir_variable *src, ir_variable *ds
[all...]
H A Dglsl_symbol_table.h67 bool add_variable(ir_variable *v);
84 ir_variable *get_variable(const char *name);
103 void replace_variable(const char *name, ir_variable *v);
H A Dir_array_refcount.h42 ir_array_refcount_entry(ir_variable *var);
45 ir_variable *var; /* The key: the variable's pointer. */
90 ir_array_refcount_entry *get_variable_entry(ir_variable *var);
93 * Hash table mapping ir_variable to ir_array_refcount_entry.
H A Dlower_cs_derived.cpp70 ir_variable *add_system_value(
84 ir_variable *gl_WorkGroupID;
85 ir_variable *gl_LocalInvocationID;
87 ir_variable *gl_GlobalInvocationID;
88 ir_variable *gl_LocalInvocationIndex;
93 ir_variable *
97 ir_variable *var = new(shader) ir_variable(type, name, ir_var_system_value);
114 ir_variable *WorkGroupSize;
164 gl_GlobalInvocationID = new(shader) ir_variable(
[all...]
H A Dlower_shared_reference.cpp48 const ir_variable *var;
87 unsigned get_shared_offset(const ir_variable *);
102 lower_shared_reference_visitor::get_shared_offset(const ir_variable *var)
132 ir_variable *var = deref->variable_referenced();
155 ir_variable *load_var = new(mem_ctx) ir_variable(type,
160 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type,
190 ir_variable *var = ir->lhs->variable_referenced();
202 ir_variable *store_va
[all...]
H A Dlower_vertex_id.cpp53 ir_variable *const var = ir->as_variable();
68 ir_variable *VertexID;
69 ir_variable *gl_VertexID;
70 ir_variable *gl_BaseVertex;
89 VertexID = new(mem_ctx) ir_variable(int_t, "__VertexID",
93 gl_VertexID = new(mem_ctx) ir_variable(int_t, "gl_VertexIDMESA",
103 gl_BaseVertex = new(mem_ctx) ir_variable(int_t, "gl_BaseVertex",
H A Dopt_constant_variable.cpp45 ir_variable *var;
56 virtual ir_visitor_status visit(ir_variable *);
66 get_assignment_entry(ir_variable *var, struct hash_table *ht)
83 ir_constant_variable_visitor::visit(ir_variable *ir)
125 ir_variable *var = ir->whole_variable_written();
157 ir_variable *param = (ir_variable *) formal_node;
161 ir_variable *var = param_rval->variable_referenced();
181 ir_variable *var = ir->return_deref->variable_referenced();
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_variable_refcount.h47 ir_variable_refcount_entry(ir_variable *var);
49 ir_variable *var; /* The key: the variable's pointer. */
72 virtual ir_visitor_status visit(ir_variable *);
81 ir_variable_refcount_entry *get_variable_entry(ir_variable *var);
84 * Hash table mapping ir_variable to ir_variable_refcount_entry.
H A Dlower_output_reads.cpp45 * A hash table mapping from the original ir_variable shader outputs
74 const ir_variable * var = static_cast<const ir_variable *>(key);
97 ir_variable *temp = entry ? (ir_variable *) entry->data : NULL;
102 temp = new(var_ctx) ir_variable(ir->var->type, ir->var->name,
122 copy(void *ctx, ir_variable *output, ir_variable *temp)
136 ir->insert_before(copy(ir, (ir_variable *) key, (ir_variable *) dat
[all...]
H A Dlower_blend_equation_advanced.cpp40 blend_multiply(ir_variable *src, ir_variable *dst)
47 blend_screen(ir_variable *src, ir_variable *dst)
54 blend_overlay(ir_variable *src, ir_variable *dst)
68 blend_darken(ir_variable *src, ir_variable *dst)
75 blend_lighten(ir_variable *src, ir_variable *ds
[all...]
H A Dglsl_symbol_table.h67 bool add_variable(ir_variable *v);
84 ir_variable *get_variable(const char *name);
103 void replace_variable(const char *name, ir_variable *v);
H A Dir_array_refcount.h58 ir_array_refcount_entry(ir_variable *var);
61 ir_variable *var; /* The key: the variable's pointer. */
151 ir_array_refcount_entry *get_variable_entry(ir_variable *var);
154 * Hash table mapping ir_variable to ir_array_refcount_entry.
H A Dlower_cs_derived.cpp70 ir_variable *add_system_value(
84 ir_variable *gl_WorkGroupID;
85 ir_variable *gl_LocalInvocationID;
87 ir_variable *gl_GlobalInvocationID;
88 ir_variable *gl_LocalInvocationIndex;
93 ir_variable *
97 ir_variable *var = new(shader) ir_variable(type, name, ir_var_system_value);
114 ir_variable *WorkGroupSize;
164 gl_GlobalInvocationID = new(shader) ir_variable(
[all...]
H A Dlower_shared_reference.cpp48 const ir_variable *var;
85 unsigned get_shared_offset(const ir_variable *);
100 lower_shared_reference_visitor::get_shared_offset(const ir_variable *var)
130 ir_variable *var = deref->variable_referenced();
153 ir_variable *load_var = new(mem_ctx) ir_variable(type,
158 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type,
188 ir_variable *var = ir->lhs->variable_referenced();
200 ir_variable *store_va
[all...]
H A Dlower_vertex_id.cpp53 ir_variable *const var = ir->as_variable();
68 ir_variable *VertexID;
69 ir_variable *gl_VertexID;
70 ir_variable *gl_BaseVertex;
89 VertexID = new(mem_ctx) ir_variable(int_t, "__VertexID",
93 gl_VertexID = new(mem_ctx) ir_variable(int_t, "gl_VertexIDMESA",
103 gl_BaseVertex = new(mem_ctx) ir_variable(int_t, "gl_BaseVertex",
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Dvaryings_test.cpp42 ir_variable *consumer_inputs_with_locations[VARYING_SLOT_MAX]);
44 ir_variable *
46 const ir_variable *output_var,
49 ir_variable *consumer_inputs_with_locations[VARYING_SLOT_MAX]);
71 ir_variable *junk[VARYING_SLOT_TESS_MAX];
119 ir_variable *const v =
120 new(mem_ctx) ir_variable(glsl_type::vec(4),
144 ir_variable *const clipdistance =
145 new(mem_ctx) ir_variable(array_8_of_float,
171 ir_variable *cons
[all...]
H A Darray_refcount_test.cpp154 ir_variable **vars = new ir_variable *[count];
163 vars[i] = va_arg(args, ir_variable *);
169 const ir_variable *const v = ir->as_variable();
212 ir_variable *const var =
213 new(mem_ctx) ir_variable(glsl_type::int_type, "a", ir_var_auto);
226 ir_variable *const var =
227 new(mem_ctx) ir_variable(glsl_type::vec4_type, "a", ir_var_auto);
240 ir_variable *const var =
241 new(mem_ctx) ir_variable(glsl_typ
[all...]
H A Dinvalidate_locations_test.cpp66 ir_variable *const var =
67 new(mem_ctx) ir_variable(glsl_type::vec(4),
89 ir_variable *const var =
90 new(mem_ctx) ir_variable(glsl_type::vec(4),
112 ir_variable *const var =
113 new(mem_ctx) ir_variable(glsl_type::vec(4),
136 ir_variable *const var =
137 new(mem_ctx) ir_variable(glsl_type::vec(4),
159 ir_variable *const var =
160 new(mem_ctx) ir_variable(glsl_typ
[all...]
H A Dgeneral_ir_test.cpp64 ir_variable *const v =
65 new(mem_ctx) ir_variable(iface, name, ir_var_uniform);
95 ir_variable *const v =
96 new(mem_ctx) ir_variable(interface_array, name, ir_var_uniform);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dvaryings_test.cpp42 ir_variable *consumer_inputs_with_locations[VARYING_SLOT_MAX]);
44 ir_variable *
46 const ir_variable *output_var,
49 ir_variable *consumer_inputs_with_locations[VARYING_SLOT_MAX]);
73 ir_variable *junk[VARYING_SLOT_TESS_MAX];
119 ir_variable *const v =
120 new(mem_ctx) ir_variable(glsl_type::vec(4),
144 ir_variable *const clipdistance =
145 new(mem_ctx) ir_variable(array_8_of_float,
171 ir_variable *cons
[all...]
H A Darray_refcount_test.cpp150 ir_variable **vars = new ir_variable *[count];
159 vars[i] = va_arg(args, ir_variable *);
165 const ir_variable *const v = ir->as_variable();
208 ir_variable *const var =
209 new(mem_ctx) ir_variable(glsl_type::int_type, "a", ir_var_auto);
222 ir_variable *const var =
223 new(mem_ctx) ir_variable(glsl_type::vec4_type, "a", ir_var_auto);
236 ir_variable *const var =
237 new(mem_ctx) ir_variable(glsl_typ
[all...]
H A Dinvalidate_locations_test.cpp62 ir_variable *const var =
63 new(mem_ctx) ir_variable(glsl_type::vec(4),
85 ir_variable *const var =
86 new(mem_ctx) ir_variable(glsl_type::vec(4),
108 ir_variable *const var =
109 new(mem_ctx) ir_variable(glsl_type::vec(4),
132 ir_variable *const var =
133 new(mem_ctx) ir_variable(glsl_type::vec(4),
155 ir_variable *const var =
156 new(mem_ctx) ir_variable(glsl_typ
[all...]
H A Dgeneral_ir_test.cpp46 ir_variable *const v =
47 new(mem_ctx) ir_variable(iface, name, ir_var_uniform);
75 ir_variable *const v =
76 new(mem_ctx) ir_variable(interface_array, name, ir_var_uniform);

Completed in 18 milliseconds

123456789