/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 204 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_dma_compute_shader() 252 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_clear_buffer_rmw_cs() 467 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_query_result_cs() 507 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_copy_image_compute_shader() 546 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_copy_image_compute_shader_1d_array() 585 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_dcc_decompress_cs() 619 state.ir_type = PIPE_SHADER_IR_TGSI; in si_clear_render_target_shader() 654 state.ir_type = PIPE_SHADER_IR_TGSI; in si_clear_render_target_shader_1d_array() 689 state.ir_type = PIPE_SHADER_IR_TGSI; in si_clear_12bytes_buffer_shader() 749 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_fmask_expand_cs() [all …]
|
D | si_compute.c | 64 if (program->ir_type != PIPE_SHADER_IR_NATIVE) in si_compute_get_code_object() 127 assert(program->ir_type == PIPE_SHADER_IR_NIR); in si_create_compute_state_async() 242 program->ir_type = cso->ir_type; in si_create_compute_state() 246 if (cso->ir_type != PIPE_SHADER_IR_NATIVE) { in si_create_compute_state() 247 if (cso->ir_type == PIPE_SHADER_IR_TGSI) { in si_create_compute_state() 248 program->ir_type = PIPE_SHADER_IR_NIR; in si_create_compute_state() 251 assert(cso->ir_type == PIPE_SHADER_IR_NIR); in si_create_compute_state() 299 if (program->ir_type != PIPE_SHADER_IR_NATIVE) in si_bind_compute_state() 489 if (program->ir_type != PIPE_SHADER_IR_NATIVE) { in si_switch_compute_shader() 531 if (program->ir_type == PIPE_SHADER_IR_NATIVE) { in si_switch_compute_shader() [all …]
|
D | si_get.c | 740 static unsigned get_max_threads_per_block(struct si_screen *screen, enum pipe_shader_ir ir_type) in get_max_threads_per_block() argument 742 if (ir_type == PIPE_SHADER_IR_NATIVE) in get_max_threads_per_block() 749 static int si_get_compute_param(struct pipe_screen *screen, enum pipe_shader_ir ir_type, in si_get_compute_param() argument 786 unsigned threads_per_block = get_max_threads_per_block(sscreen, ir_type); in si_get_compute_param() 796 *max_threads_per_block = get_max_threads_per_block(sscreen, ir_type); in si_get_compute_param() 811 si_get_compute_param(screen, ir_type, PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE, in si_get_compute_param() 880 if (ir_type == PIPE_SHADER_IR_NATIVE) in si_get_compute_param()
|
D | si_compute.h | 35 unsigned ir_type; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_compute.c | 442 shader->ir_type = cso->ir_type; in evergreen_create_compute_state() 444 if (shader->ir_type == PIPE_SHADER_IR_TGSI || in evergreen_create_compute_state() 445 shader->ir_type == PIPE_SHADER_IR_NIR) { in evergreen_create_compute_state() 446 shader->sel = r600_create_shader_state_tokens(ctx, cso->prog, cso->ir_type, PIPE_SHADER_COMPUTE); in evergreen_create_compute_state() 480 if (shader->ir_type == PIPE_SHADER_IR_TGSI || in evergreen_delete_compute_state() 481 shader->ir_type == PIPE_SHADER_IR_NIR) { in evergreen_delete_compute_state() 505 if (cstate->ir_type == PIPE_SHADER_IR_TGSI || in evergreen_bind_compute_state() 506 cstate->ir_type == PIPE_SHADER_IR_NIR) { in evergreen_bind_compute_state() 508 cstate->sel->ir_type = cstate->ir_type; in evergreen_bind_compute_state() 611 if (shader->ir_type != PIPE_SHADER_IR_TGSI && in evergreen_emit_dispatch() [all …]
|
D | evergreen_compute_internal.h | 75 enum pipe_shader_ir ir_type; member
|
D | r600_pipe_common.c | 904 enum pipe_shader_ir ir_type) in get_max_threads_per_block() argument 906 if (ir_type != PIPE_SHADER_IR_TGSI && in get_max_threads_per_block() 907 ir_type != PIPE_SHADER_IR_NIR) in get_max_threads_per_block() 915 enum pipe_shader_ir ir_type, in r600_get_compute_param() argument 952 unsigned threads_per_block = get_max_threads_per_block(rscreen, ir_type); in r600_get_compute_param() 962 *max_threads_per_block = get_max_threads_per_block(rscreen, ir_type); in r600_get_compute_param() 977 r600_get_compute_param(screen, ir_type, in r600_get_compute_param()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_assemble.c | 46 enum pipe_shader_ir ir_type, in panfrost_shader_compile() argument 56 if (ir_type == PIPE_SHADER_IR_NIR) { in panfrost_shader_compile() 59 assert (ir_type == PIPE_SHADER_IR_TGSI); in panfrost_shader_compile()
|
D | pan_compute.c | 59 if (cso->ir_type == PIPE_SHADER_IR_NIR_SERIALIZED) { in panfrost_create_compute_state() 69 so->cbase.ir_type = PIPE_SHADER_IR_NIR; in panfrost_create_compute_state() 73 so->cbase.ir_type, so->cbase.prog, MESA_SHADER_COMPUTE, in panfrost_create_compute_state()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | opt_redundant_jumps.cpp | 73 if ((last_then->ir_type != ir_type_loop_jump) in visit_leave() 74 || (last_else->ir_type != ir_type_loop_jump)) in visit_leave() 107 if (last && (last->ir_type == ir_type_loop_jump) in visit_leave()
|
D | lower_vector_derefs.cpp | 59 if (!ir->lhs || ir->lhs->ir_type != ir_type_dereference_array) in visit_enter() 113 if (new_lhs->ir_type != ir_type_swizzle) { in visit_enter() 154 if (new_lhs->ir_type != ir_type_swizzle) { in visit_enter() 172 if (*rv == NULL || (*rv)->ir_type != ir_type_dereference_array) in handle_rvalue()
|
D | ir.h | 93 enum ir_node_type ir_type; variable 116 return ir_type == ir_type_dereference_array || in is_rvalue() 117 ir_type == ir_type_dereference_record || in is_rvalue() 118 ir_type == ir_type_dereference_variable || in is_rvalue() 119 ir_type == ir_type_constant || in is_rvalue() 120 ir_type == ir_type_expression || in is_rvalue() 121 ir_type == ir_type_swizzle || in is_rvalue() 122 ir_type == ir_type_texture; in is_rvalue() 127 return ir_type == ir_type_dereference_array || in is_dereference() 128 ir_type == ir_type_dereference_record || in is_dereference() [all …]
|
D | lower_if_to_cond_assign.cpp | 127 switch (ir->ir_type) { in check_ir_node() 159 if (deref->array_index->ir_type != ir_type_constant) in check_ir_node() 182 if (ir->ir_type == ir_type_assignment) { in move_block_to_cond_assign()
|
D | lower_ubo_reference.cpp | 140 switch (ir->ir_type) { in interface_field_name() 180 switch (d->ir_type) { in interface_field_name() 642 if (ir->operands[i]->ir_type != ir_type_expression) in check_ssbo_unsized_array_length_expression() 657 if (!ir->rhs || ir->rhs->ir_type != ir_type_expression) in check_ssbo_unsized_array_length_assignment() 685 switch (deref->ir_type) { in calculate_unsized_array_stride() 969 assert(inst->ir_type == ir_type_dereference_variable || in lower_ssbo_atomic_intrinsic() 970 inst->ir_type == ir_type_dereference_array || in lower_ssbo_atomic_intrinsic() 971 inst->ir_type == ir_type_dereference_record || in lower_ssbo_atomic_intrinsic() 972 inst->ir_type == ir_type_swizzle); in lower_ssbo_atomic_intrinsic() 1117 if (sampler->ir_type == ir_type_dereference_record) { in visit_enter()
|
D | lower_vector.cpp | 74 switch (op->ir_type) { in is_extended_swizzle() 202 if (expr->operands[i]->ir_type == ir_type_constant) in handle_rvalue()
|
D | lower_shared_reference.cpp | 352 assert(inst->ir_type == ir_type_dereference_variable || in lower_shared_atomic_intrinsic() 353 inst->ir_type == ir_type_dereference_array || in lower_shared_atomic_intrinsic() 354 inst->ir_type == ir_type_dereference_record || in lower_shared_atomic_intrinsic() 355 inst->ir_type == ir_type_swizzle); in lower_shared_atomic_intrinsic()
|
D | opt_rebalance_tree.cpp | 222 if (ir->ir_type == ir_type_dereference_array || in is_reduction() 223 ir->ir_type == ir_type_dereference_record) { in is_reduction()
|
D | opt_dead_builtin_variables.cpp | 39 if (var->ir_type != ir_type_variable || var->data.used) in optimize_dead_builtin_variables()
|
D | lower_offset_array.cpp | 57 if (*rv == NULL || (*rv)->ir_type != ir_type_texture) in handle_rvalue()
|
D | lower_tess_level.cpp | 252 if (ir->lhs->ir_type != ir_type_expression) in fix_lhs() 262 assert(expr->operands[0]->ir_type == ir_type_dereference_variable); in fix_lhs()
|
D | lower_int64.cpp | 332 assert(callee != NULL && callee->ir_type == ir_type_function_signature); in handle_op() 349 if (*rvalue == NULL || (*rvalue)->ir_type != ir_type_expression) in handle_rvalue()
|
D | lower_buffer_access.cpp | 190 switch (ir->ir_type) { in is_dereferenced_thing_row_major() 291 switch (deref->ir_type) { in setup_buffer_access()
|
D | lower_jumps.cpp | 456 else if(ir->ir_type == ir_type_loop_jump) { in get_jump_strength() 461 } else if(ir->ir_type == ir_type_return) in get_jump_strength() 999 assert (jump->ir_type == ir_type_return); in visit()
|
D | loop_analysis.h | 40 return ir != NULL && ir->ir_type == ir_type_loop_jump && in is_break()
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | lower_int64_test.cpp | 156 EXPECT_EQ(ir_type_variable, ir->ir_type); in check_instructions() 166 EXPECT_EQ(ir_type_assignment, ir->ir_type); in check_instructions() 175 EXPECT_EQ(ir_type_variable, ir->ir_type); in check_instructions() 181 EXPECT_EQ(ir_type_assignment, ir->ir_type); in check_instructions() 422 ASSERT_EQ(ir_type_dereference_variable, deref->ir_type); in TEST_F()
|