Lines Matching refs:nir_channel
81 return nir_channel(b, desc, 0); in dzn_nir_create_bo_desc()
146 nir_ssa_def *draw_stride = nir_channel(&b, params, 0); in dzn_nir_indirect_draw_shader()
152 nir_channel(&b, nir_load_global_invocation_id(&b, 32), 0); in dzn_nir_indirect_draw_shader()
186 nir_ssa_def *first_vertex = nir_channel(&b, draw_info1, indexed ? 3 : 2); in dzn_nir_indirect_draw_shader()
188 indexed ? draw_info2 : nir_channel(&b, draw_info1, 3); in dzn_nir_indirect_draw_shader()
199 nir_usub_sat(&b, nir_channel(&b, draw_info1, 0), nir_imm_int(&b, 2)); in dzn_nir_indirect_draw_shader()
201 exec_vals[4] = nir_channel(&b, draw_info1, 1); in dzn_nir_indirect_draw_shader()
210 nir_ssa_def *triangle_fan_index_buf_stride = nir_channel(&b, params, 1); in dzn_nir_indirect_draw_shader()
212 nir_iadd(&b, nir_channel(&b, params, 2), in dzn_nir_indirect_draw_shader()
218 nir_ult(&b, triangle_fan_index_buf_addr_lo, nir_channel(&b, params, 2)); in dzn_nir_indirect_draw_shader()
220 nir_iadd(&b, nir_channel(&b, params, 3), in dzn_nir_indirect_draw_shader()
227 triangle_fan_exec_vals[triangle_fan_exec_param_count++] = nir_channel(&b, draw_info1, 2); in dzn_nir_indirect_draw_shader()
228 triangle_fan_exec_vals[triangle_fan_exec_param_count++] = nir_channel(&b, draw_info1, 0); in dzn_nir_indirect_draw_shader()
237 nir_iadd(&b, nir_channel(&b, exec_buf_start, 0), in dzn_nir_indirect_draw_shader()
239 addr_lo_overflow = nir_ult(&b, exec_buf_start_lo, nir_channel(&b, exec_buf_start, 0)); in dzn_nir_indirect_draw_shader()
241 nir_iadd(&b, nir_channel(&b, exec_buf_start, 0), in dzn_nir_indirect_draw_shader()
248 indexed ? nir_channel(&b, draw_info1, 2) : nir_imm_int(&b, 0); in dzn_nir_indirect_draw_shader()
286 exec_vals[3] = nir_channel(&b, draw_info1, 0); in dzn_nir_indirect_draw_shader()
287 exec_vals[4] = nir_channel(&b, draw_info1, 1); in dzn_nir_indirect_draw_shader()
288 exec_vals[5] = nir_channel(&b, draw_info1, 2); in dzn_nir_indirect_draw_shader()
289 exec_vals[6] = nir_channel(&b, draw_info1, 3); in dzn_nir_indirect_draw_shader()
339 nir_ssa_def *old_index_ptr = nir_channel(&b, params, 0); in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
344 nir_ssa_def *old_index_count = nir_channel(&b, params, 1); in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
430 nir_iand_imm(&b, nir_channel(&b, index12, 0), 0xffff), in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
431 nir_ushr_imm(&b, nir_channel(&b, index12, 0), 16), in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
432 nir_iand_imm(&b, nir_channel(&b, index12, 1), 0xffff), in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
440 nir_push_if(&b, nir_ieq(&b, nir_channel(&b, index12, 1), prim_restart_val)); in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
446 nir_push_if(&b, nir_ieq(&b, nir_channel(&b, index12, 0), prim_restart_val)); in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
451 nir_vec3(&b, nir_channel(&b, index12, 0), nir_channel(&b, index12, 1), index0); in dzn_nir_triangle_fan_prim_restart_rewrite_index_shader()
499 nir_ssa_def *triangle = nir_channel(&b, nir_load_global_invocation_id(&b, 32), 0); in dzn_nir_triangle_fan_rewrite_index_shader()
503 nir_ssa_def *old_first_index = nir_channel(&b, params, 0); in dzn_nir_triangle_fan_rewrite_index_shader()
527 nir_iand_imm(&b, nir_channel(&b, old_index12, 0), 0xffff), in dzn_nir_triangle_fan_rewrite_index_shader()
528 nir_ushr_imm(&b, nir_channel(&b, old_index12, 0), 16), in dzn_nir_triangle_fan_rewrite_index_shader()
529 nir_iand_imm(&b, nir_channel(&b, old_index12, 1), 0xffff), in dzn_nir_triangle_fan_rewrite_index_shader()
539 nir_vec3(&b, nir_channel(&b, old_index12, 0), in dzn_nir_triangle_fan_rewrite_index_shader()
540 nir_channel(&b, old_index12, 1), old_index0); in dzn_nir_triangle_fan_rewrite_index_shader()
589 nir_vec4(&b, nir_channel(&b, coords, 0), nir_channel(&b, coords, 1), in dzn_nir_blit_vs()
594 coords = nir_vec3(&b, nir_channel(&b, coords, 2), nir_channel(&b, coords, 3), z_coord); in dzn_nir_blit_vs()