Lines Matching full:iris
90 struct iris_fs_data *iris = &shader->fs; in iris_apply_brw_wm_prog_data() local
92 STATIC_ASSERT(ARRAY_SIZE(iris->urb_setup) == ARRAY_SIZE(brw->urb_setup)); in iris_apply_brw_wm_prog_data()
93 STATIC_ASSERT(ARRAY_SIZE(iris->urb_setup_attribs) == ARRAY_SIZE(brw->urb_setup_attribs)); in iris_apply_brw_wm_prog_data()
94 memcpy(iris->urb_setup, brw->urb_setup, sizeof(iris->urb_setup)); in iris_apply_brw_wm_prog_data()
95 memcpy(iris->urb_setup_attribs, brw->urb_setup_attribs, brw->urb_setup_attribs_count); in iris_apply_brw_wm_prog_data()
96 iris->urb_setup_attribs_count = brw->urb_setup_attribs_count; in iris_apply_brw_wm_prog_data()
98 iris->num_varying_inputs = brw->num_varying_inputs; in iris_apply_brw_wm_prog_data()
99 iris->msaa_flags_param = brw->msaa_flags_param; in iris_apply_brw_wm_prog_data()
100 iris->flat_inputs = brw->flat_inputs; in iris_apply_brw_wm_prog_data()
101 iris->inputs = brw->inputs; in iris_apply_brw_wm_prog_data()
102 iris->computed_depth_mode = brw->computed_depth_mode; in iris_apply_brw_wm_prog_data()
103 iris->max_polygons = brw->max_polygons; in iris_apply_brw_wm_prog_data()
104 iris->dispatch_multi = brw->dispatch_multi; in iris_apply_brw_wm_prog_data()
105 iris->computed_stencil = brw->computed_stencil; in iris_apply_brw_wm_prog_data()
106 iris->early_fragment_tests = brw->early_fragment_tests; in iris_apply_brw_wm_prog_data()
107 iris->post_depth_coverage = brw->post_depth_coverage; in iris_apply_brw_wm_prog_data()
108 iris->inner_coverage = brw->inner_coverage; in iris_apply_brw_wm_prog_data()
109 iris->dispatch_8 = brw->dispatch_8; in iris_apply_brw_wm_prog_data()
110 iris->dispatch_16 = brw->dispatch_16; in iris_apply_brw_wm_prog_data()
111 iris->dispatch_32 = brw->dispatch_32; in iris_apply_brw_wm_prog_data()
112 iris->dual_src_blend = brw->dual_src_blend; in iris_apply_brw_wm_prog_data()
113 iris->uses_pos_offset = brw->uses_pos_offset; in iris_apply_brw_wm_prog_data()
114 iris->uses_omask = brw->uses_omask; in iris_apply_brw_wm_prog_data()
115 iris->uses_kill = brw->uses_kill; in iris_apply_brw_wm_prog_data()
116 iris->uses_src_depth = brw->uses_src_depth; in iris_apply_brw_wm_prog_data()
117 iris->uses_src_w = brw->uses_src_w; in iris_apply_brw_wm_prog_data()
118 iris->uses_sample_mask = brw->uses_sample_mask; in iris_apply_brw_wm_prog_data()
119 iris->uses_vmask = brw->uses_vmask; in iris_apply_brw_wm_prog_data()
120 iris->has_side_effects = brw->has_side_effects; in iris_apply_brw_wm_prog_data()
121 iris->pulls_bary = brw->pulls_bary; in iris_apply_brw_wm_prog_data()
123 iris->uses_sample_offsets = brw->uses_sample_offsets; in iris_apply_brw_wm_prog_data()
124 iris->uses_npc_bary_coefficients = brw->uses_npc_bary_coefficients; in iris_apply_brw_wm_prog_data()
125 iris->uses_pc_bary_coefficients = brw->uses_pc_bary_coefficients; in iris_apply_brw_wm_prog_data()
126 iris->uses_depth_w_coefficients = brw->uses_depth_w_coefficients; in iris_apply_brw_wm_prog_data()
128 iris->uses_nonperspective_interp_modes = brw->uses_nonperspective_interp_modes; in iris_apply_brw_wm_prog_data()
130 iris->is_per_sample = brw_wm_prog_data_is_persample(brw, 0); in iris_apply_brw_wm_prog_data()
138 struct iris_cs_data *iris = &shader->cs; in iris_apply_brw_cs_prog_data() local
140 iris->push.cross_thread.dwords = brw->push.cross_thread.dwords; in iris_apply_brw_cs_prog_data()
141 iris->push.cross_thread.regs = brw->push.cross_thread.regs; in iris_apply_brw_cs_prog_data()
142 iris->push.cross_thread.size = brw->push.cross_thread.size; in iris_apply_brw_cs_prog_data()
144 iris->push.per_thread.dwords = brw->push.per_thread.dwords; in iris_apply_brw_cs_prog_data()
145 iris->push.per_thread.regs = brw->push.per_thread.regs; in iris_apply_brw_cs_prog_data()
146 iris->push.per_thread.size = brw->push.per_thread.size; in iris_apply_brw_cs_prog_data()
148 iris->local_size[0] = brw->local_size[0]; in iris_apply_brw_cs_prog_data()
149 iris->local_size[1] = brw->local_size[1]; in iris_apply_brw_cs_prog_data()
150 iris->local_size[2] = brw->local_size[2]; in iris_apply_brw_cs_prog_data()
151 iris->prog_offset[0] = brw->prog_offset[0]; in iris_apply_brw_cs_prog_data()
152 iris->prog_offset[1] = brw->prog_offset[1]; in iris_apply_brw_cs_prog_data()
153 iris->prog_offset[2] = brw->prog_offset[2]; in iris_apply_brw_cs_prog_data()
155 iris->generate_local_id = brw->generate_local_id; in iris_apply_brw_cs_prog_data()
156 iris->walk_order = brw->walk_order; in iris_apply_brw_cs_prog_data()
157 iris->uses_barrier = brw->uses_barrier; in iris_apply_brw_cs_prog_data()
158 iris->uses_sampler = brw->uses_sampler; in iris_apply_brw_cs_prog_data()
159 iris->prog_mask = brw->prog_mask; in iris_apply_brw_cs_prog_data()
161 iris->first_param_is_builtin_subgroup_id = in iris_apply_brw_cs_prog_data()
168 struct iris_vue_data *iris) in iris_apply_brw_vue_prog_data() argument
170 memcpy(&iris->vue_map, &brw->vue_map, sizeof(struct intel_vue_map)); in iris_apply_brw_vue_prog_data()
172 iris->urb_read_length = brw->urb_read_length; in iris_apply_brw_vue_prog_data()
173 iris->cull_distance_mask = brw->cull_distance_mask; in iris_apply_brw_vue_prog_data()
174 iris->urb_entry_size = brw->urb_entry_size; in iris_apply_brw_vue_prog_data()
175 iris->dispatch_mode = brw->dispatch_mode; in iris_apply_brw_vue_prog_data()
176 iris->include_vue_handles = brw->include_vue_handles; in iris_apply_brw_vue_prog_data()
184 struct iris_vs_data *iris = &shader->vs; in iris_apply_brw_vs_prog_data() local
186 iris_apply_brw_vue_prog_data(&brw->base, &iris->base); in iris_apply_brw_vs_prog_data()
188 iris->uses_vertexid = brw->uses_vertexid; in iris_apply_brw_vs_prog_data()
189 iris->uses_instanceid = brw->uses_instanceid; in iris_apply_brw_vs_prog_data()
190 iris->uses_firstvertex = brw->uses_firstvertex; in iris_apply_brw_vs_prog_data()
191 iris->uses_baseinstance = brw->uses_baseinstance; in iris_apply_brw_vs_prog_data()
192 iris->uses_drawid = brw->uses_drawid; in iris_apply_brw_vs_prog_data()
200 struct iris_tcs_data *iris = &shader->tcs; in iris_apply_brw_tcs_prog_data() local
202 iris_apply_brw_vue_prog_data(&brw->base, &iris->base); in iris_apply_brw_tcs_prog_data()
204 iris->instances = brw->instances; in iris_apply_brw_tcs_prog_data()
205 iris->patch_count_threshold = brw->patch_count_threshold; in iris_apply_brw_tcs_prog_data()
206 iris->include_primitive_id = brw->include_primitive_id; in iris_apply_brw_tcs_prog_data()
214 struct iris_tes_data *iris = &shader->tes; in iris_apply_brw_tes_prog_data() local
216 iris_apply_brw_vue_prog_data(&brw->base, &iris->base); in iris_apply_brw_tes_prog_data()
218 iris->partitioning = brw->partitioning; in iris_apply_brw_tes_prog_data()
219 iris->output_topology = brw->output_topology; in iris_apply_brw_tes_prog_data()
220 iris->domain = brw->domain; in iris_apply_brw_tes_prog_data()
221 iris->include_primitive_id = brw->include_primitive_id; in iris_apply_brw_tes_prog_data()
229 struct iris_gs_data *iris = &shader->gs; in iris_apply_brw_gs_prog_data() local
231 iris_apply_brw_vue_prog_data(&brw->base, &iris->base); in iris_apply_brw_gs_prog_data()
233 iris->vertices_in = brw->vertices_in; in iris_apply_brw_gs_prog_data()
234 iris->output_vertex_size_hwords = brw->output_vertex_size_hwords; in iris_apply_brw_gs_prog_data()
235 iris->output_topology = brw->output_topology; in iris_apply_brw_gs_prog_data()
236 iris->control_data_header_size_hwords = brw->control_data_header_size_hwords; in iris_apply_brw_gs_prog_data()
237 iris->control_data_format = brw->control_data_format; in iris_apply_brw_gs_prog_data()
238 iris->static_vertex_count = brw->static_vertex_count; in iris_apply_brw_gs_prog_data()
239 iris->invocations = brw->invocations; in iris_apply_brw_gs_prog_data()
240 iris->include_primitive_id = brw->include_primitive_id; in iris_apply_brw_gs_prog_data()
300 struct iris_fs_data *iris = &shader->fs; in iris_apply_elk_wm_prog_data() local
302 STATIC_ASSERT(ARRAY_SIZE(iris->urb_setup) == ARRAY_SIZE(elk->urb_setup)); in iris_apply_elk_wm_prog_data()
303 STATIC_ASSERT(ARRAY_SIZE(iris->urb_setup_attribs) == ARRAY_SIZE(elk->urb_setup_attribs)); in iris_apply_elk_wm_prog_data()
304 memcpy(iris->urb_setup, elk->urb_setup, sizeof(iris->urb_setup)); in iris_apply_elk_wm_prog_data()
305 memcpy(iris->urb_setup_attribs, elk->urb_setup_attribs, elk->urb_setup_attribs_count); in iris_apply_elk_wm_prog_data()
306 iris->urb_setup_attribs_count = elk->urb_setup_attribs_count; in iris_apply_elk_wm_prog_data()
308 iris->num_varying_inputs = elk->num_varying_inputs; in iris_apply_elk_wm_prog_data()
309 iris->msaa_flags_param = elk->msaa_flags_param; in iris_apply_elk_wm_prog_data()
310 iris->flat_inputs = elk->flat_inputs; in iris_apply_elk_wm_prog_data()
311 iris->inputs = elk->inputs; in iris_apply_elk_wm_prog_data()
312 iris->computed_depth_mode = elk->computed_depth_mode; in iris_apply_elk_wm_prog_data()
313 iris->max_polygons = 1; in iris_apply_elk_wm_prog_data()
314 iris->dispatch_multi = 0; in iris_apply_elk_wm_prog_data()
315 iris->computed_stencil = elk->computed_stencil; in iris_apply_elk_wm_prog_data()
316 iris->early_fragment_tests = elk->early_fragment_tests; in iris_apply_elk_wm_prog_data()
317 iris->post_depth_coverage = elk->post_depth_coverage; in iris_apply_elk_wm_prog_data()
318 iris->inner_coverage = elk->inner_coverage; in iris_apply_elk_wm_prog_data()
319 iris->dispatch_8 = elk->dispatch_8; in iris_apply_elk_wm_prog_data()
320 iris->dispatch_16 = elk->dispatch_16; in iris_apply_elk_wm_prog_data()
321 iris->dispatch_32 = elk->dispatch_32; in iris_apply_elk_wm_prog_data()
322 iris->dual_src_blend = elk->dual_src_blend; in iris_apply_elk_wm_prog_data()
323 iris->uses_pos_offset = elk->uses_pos_offset; in iris_apply_elk_wm_prog_data()
324 iris->uses_omask = elk->uses_omask; in iris_apply_elk_wm_prog_data()
325 iris->uses_kill = elk->uses_kill; in iris_apply_elk_wm_prog_data()
326 iris->uses_src_depth = elk->uses_src_depth; in iris_apply_elk_wm_prog_data()
327 iris->uses_src_w = elk->uses_src_w; in iris_apply_elk_wm_prog_data()
328 iris->uses_sample_mask = elk->uses_sample_mask; in iris_apply_elk_wm_prog_data()
329 iris->uses_vmask = elk->uses_vmask; in iris_apply_elk_wm_prog_data()
330 iris->pulls_bary = elk->pulls_bary; in iris_apply_elk_wm_prog_data()
331 iris->has_side_effects = elk->has_side_effects; in iris_apply_elk_wm_prog_data()
333 iris->uses_nonperspective_interp_modes = elk->uses_nonperspective_interp_modes; in iris_apply_elk_wm_prog_data()
335 iris->is_per_sample = elk_wm_prog_data_is_persample(elk, 0); in iris_apply_elk_wm_prog_data()
343 struct iris_cs_data *iris = &shader->cs; in iris_apply_elk_cs_prog_data() local
345 iris->push.cross_thread.dwords = elk->push.cross_thread.dwords; in iris_apply_elk_cs_prog_data()
346 iris->push.cross_thread.regs = elk->push.cross_thread.regs; in iris_apply_elk_cs_prog_data()
347 iris->push.cross_thread.size = elk->push.cross_thread.size; in iris_apply_elk_cs_prog_data()
349 iris->push.per_thread.dwords = elk->push.per_thread.dwords; in iris_apply_elk_cs_prog_data()
350 iris->push.per_thread.regs = elk->push.per_thread.regs; in iris_apply_elk_cs_prog_data()
351 iris->push.per_thread.size = elk->push.per_thread.size; in iris_apply_elk_cs_prog_data()
353 iris->local_size[0] = elk->local_size[0]; in iris_apply_elk_cs_prog_data()
354 iris->local_size[1] = elk->local_size[1]; in iris_apply_elk_cs_prog_data()
355 iris->local_size[2] = elk->local_size[2]; in iris_apply_elk_cs_prog_data()
356 iris->prog_offset[0] = elk->prog_offset[0]; in iris_apply_elk_cs_prog_data()
357 iris->prog_offset[1] = elk->prog_offset[1]; in iris_apply_elk_cs_prog_data()
358 iris->prog_offset[2] = elk->prog_offset[2]; in iris_apply_elk_cs_prog_data()
360 iris->uses_barrier = elk->uses_barrier; in iris_apply_elk_cs_prog_data()
361 iris->prog_mask = elk->prog_mask; in iris_apply_elk_cs_prog_data()
363 iris->first_param_is_builtin_subgroup_id = in iris_apply_elk_cs_prog_data()
370 struct iris_vue_data *iris) in iris_apply_elk_vue_prog_data() argument
372 memcpy(&iris->vue_map, &elk->vue_map, sizeof(struct intel_vue_map)); in iris_apply_elk_vue_prog_data()
374 iris->urb_read_length = elk->urb_read_length; in iris_apply_elk_vue_prog_data()
375 iris->cull_distance_mask = elk->cull_distance_mask; in iris_apply_elk_vue_prog_data()
376 iris->urb_entry_size = elk->urb_entry_size; in iris_apply_elk_vue_prog_data()
377 iris->dispatch_mode = elk->dispatch_mode; in iris_apply_elk_vue_prog_data()
378 iris->include_vue_handles = elk->include_vue_handles; in iris_apply_elk_vue_prog_data()
386 struct iris_vs_data *iris = &shader->vs; in iris_apply_elk_vs_prog_data() local
388 iris_apply_elk_vue_prog_data(&elk->base, &iris->base); in iris_apply_elk_vs_prog_data()
390 iris->uses_vertexid = elk->uses_vertexid; in iris_apply_elk_vs_prog_data()
391 iris->uses_instanceid = elk->uses_instanceid; in iris_apply_elk_vs_prog_data()
392 iris->uses_firstvertex = elk->uses_firstvertex; in iris_apply_elk_vs_prog_data()
393 iris->uses_baseinstance = elk->uses_baseinstance; in iris_apply_elk_vs_prog_data()
394 iris->uses_drawid = elk->uses_drawid; in iris_apply_elk_vs_prog_data()
402 struct iris_tcs_data *iris = &shader->tcs; in iris_apply_elk_tcs_prog_data() local
404 iris_apply_elk_vue_prog_data(&elk->base, &iris->base); in iris_apply_elk_tcs_prog_data()
406 iris->instances = elk->instances; in iris_apply_elk_tcs_prog_data()
407 iris->patch_count_threshold = elk->patch_count_threshold; in iris_apply_elk_tcs_prog_data()
408 iris->include_primitive_id = elk->include_primitive_id; in iris_apply_elk_tcs_prog_data()
416 struct iris_tes_data *iris = &shader->tes; in iris_apply_elk_tes_prog_data() local
418 iris_apply_elk_vue_prog_data(&elk->base, &iris->base); in iris_apply_elk_tes_prog_data()
420 iris->partitioning = elk->partitioning; in iris_apply_elk_tes_prog_data()
421 iris->output_topology = elk->output_topology; in iris_apply_elk_tes_prog_data()
422 iris->domain = elk->domain; in iris_apply_elk_tes_prog_data()
423 iris->include_primitive_id = elk->include_primitive_id; in iris_apply_elk_tes_prog_data()
431 struct iris_gs_data *iris = &shader->gs; in iris_apply_elk_gs_prog_data() local
433 iris_apply_elk_vue_prog_data(&elk->base, &iris->base); in iris_apply_elk_gs_prog_data()
435 iris->vertices_in = elk->vertices_in; in iris_apply_elk_gs_prog_data()
436 iris->output_vertex_size_hwords = elk->output_vertex_size_hwords; in iris_apply_elk_gs_prog_data()
437 iris->output_topology = elk->output_topology; in iris_apply_elk_gs_prog_data()
438 iris->control_data_header_size_hwords = elk->control_data_header_size_hwords; in iris_apply_elk_gs_prog_data()
439 iris->control_data_format = elk->control_data_format; in iris_apply_elk_gs_prog_data()
440 iris->static_vertex_count = elk->static_vertex_count; in iris_apply_elk_gs_prog_data()
441 iris->invocations = elk->invocations; in iris_apply_elk_gs_prog_data()
442 iris->include_primitive_id = elk->include_primitive_id; in iris_apply_elk_gs_prog_data()
3316 /* Most of iris doesn't really care about the difference between compute in iris_create_compute_state()
3800 /* Iris uploads image params used by in iris_finalize_nir()