/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() 487 if (shader->ir_type == PIPE_SHADER_IR_TGSI || in evergreen_delete_compute_state() 488 shader->ir_type == PIPE_SHADER_IR_NIR) { in evergreen_delete_compute_state() 512 if (cstate->ir_type == PIPE_SHADER_IR_TGSI || in evergreen_bind_compute_state() 513 cstate->ir_type == PIPE_SHADER_IR_NIR) { in evergreen_bind_compute_state() 616 if (shader->ir_type != PIPE_SHADER_IR_TGSI && in evergreen_emit_dispatch() 617 shader->ir_type != PIPE_SHADER_IR_NIR) in evergreen_emit_dispatch() [all …]
|
D | evergreen_compute_internal.h | 75 enum pipe_shader_ir ir_type; member
|
D | r600_pipe_common.c | 910 enum pipe_shader_ir ir_type) in get_max_threads_per_block() argument 912 if (ir_type != PIPE_SHADER_IR_TGSI && in get_max_threads_per_block() 913 ir_type != PIPE_SHADER_IR_NIR) in get_max_threads_per_block() 921 enum pipe_shader_ir ir_type, in r600_get_compute_param() argument 958 unsigned threads_per_block = get_max_threads_per_block(rscreen, ir_type); in r600_get_compute_param() 968 *max_threads_per_block = get_max_threads_per_block(rscreen, ir_type); in r600_get_compute_param() 983 r600_get_compute_param(screen, ir_type, in r600_get_compute_param()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 179 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_dma_compute_shader() 399 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_query_result_cs() 433 state.ir_type = PIPE_SHADER_IR_TGSI; in si_clear_render_target_shader() 468 state.ir_type = PIPE_SHADER_IR_TGSI; in si_clear_render_target_shader_1d_array() 503 state.ir_type = PIPE_SHADER_IR_TGSI; in si_clear_12bytes_buffer_shader() 563 state.ir_type = PIPE_SHADER_IR_TGSI; in si_create_fmask_expand_cs() 785 state.ir_type = PIPE_SHADER_IR_TGSI; in gfx10_create_sh_query_result_cs()
|
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() 247 program->ir_type = cso->ir_type; in si_create_compute_state() 251 if (cso->ir_type != PIPE_SHADER_IR_NATIVE) { in si_create_compute_state() 252 if (cso->ir_type == PIPE_SHADER_IR_TGSI) { in si_create_compute_state() 253 program->ir_type = PIPE_SHADER_IR_NIR; in si_create_compute_state() 256 assert(cso->ir_type == PIPE_SHADER_IR_NIR); in si_create_compute_state() 306 if (program->ir_type != PIPE_SHADER_IR_NATIVE) in si_bind_compute_state() 515 if (program->ir_type != PIPE_SHADER_IR_NATIVE) { in si_switch_compute_shader() 556 if (program->ir_type == PIPE_SHADER_IR_NATIVE) { in si_switch_compute_shader() [all …]
|
D | si_get.c | 802 static unsigned get_max_threads_per_block(struct si_screen *screen, enum pipe_shader_ir ir_type) in get_max_threads_per_block() argument 804 if (ir_type == PIPE_SHADER_IR_NATIVE) in get_max_threads_per_block() 811 static int si_get_compute_param(struct pipe_screen *screen, enum pipe_shader_ir ir_type, in si_get_compute_param() argument 848 unsigned threads_per_block = get_max_threads_per_block(sscreen, ir_type); in si_get_compute_param() 858 *max_threads_per_block = get_max_threads_per_block(sscreen, ir_type); in si_get_compute_param() 873 si_get_compute_param(screen, ir_type, PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE, in si_get_compute_param() 948 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/compiler/glsl/ |
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_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() 153 if (new_lhs->ir_type != ir_type_swizzle) { in visit_enter() 171 if (*rv == NULL || (*rv)->ir_type != ir_type_dereference_array) in handle_rvalue()
|
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_jumps.cpp | 398 else if(ir->ir_type == ir_type_loop_jump) { in get_jump_strength() 403 } else if(ir->ir_type == ir_type_return) in get_jump_strength() 901 assert (jump->ir_type == ir_type_return); in visit()
|
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_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 | opt_constant_folding.cpp | 67 if (*rvalue == NULL || (*rvalue)->ir_type == ir_type_constant) in ir_constant_fold()
|
D | lower_vector_insert.cpp | 61 if (*rv == NULL || (*rv)->ir_type != ir_type_expression) in handle_rvalue()
|
D | ir_array_refcount.cpp | 138 while (rv->ir_type == ir_type_dereference_array) { in visit_enter()
|
D | lower_distance.cpp | 401 if (ir->lhs->ir_type == ir_type_expression) { in fix_lhs() 410 assert(expr->operands[0]->ir_type == ir_type_dereference_array); in fix_lhs()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_cs.c | 57 if (templ->ir_type == PIPE_SHADER_IR_NIR) { in svga_create_compute_state() 60 assert(templ->ir_type == PIPE_SHADER_IR_TGSI); in svga_create_compute_state() 64 assert(templ->ir_type == PIPE_SHADER_IR_TGSI); in svga_create_compute_state() 67 shader->type = templ->ir_type; in svga_create_compute_state()
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | lower_int64_test.cpp | 155 EXPECT_EQ(ir_type_variable, ir->ir_type); in check_instructions() 165 EXPECT_EQ(ir_type_assignment, ir->ir_type); in check_instructions() 174 EXPECT_EQ(ir_type_variable, ir->ir_type); in check_instructions() 180 EXPECT_EQ(ir_type_assignment, ir->ir_type); in check_instructions() 421 ASSERT_EQ(ir_type_dereference_variable, deref->ir_type); in TEST_F()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_compute.c | 59 if (cso->ir_type == PIPE_SHADER_IR_NIR_SERIALIZED) { in panfrost_create_compute_state() 70 assert(cso->ir_type == PIPE_SHADER_IR_NIR && "TGSI kernels unsupported"); in panfrost_create_compute_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_gallium.c | 288 if (cso->ir_type == PIPE_SHADER_IR_NIR) { in ir3_shader_compute_state_create() 291 } else if (cso->ir_type == PIPE_SHADER_IR_NIR_SERIALIZED) { in ir3_shader_compute_state_create() 302 assert(cso->ir_type == PIPE_SHADER_IR_TGSI); in ir3_shader_compute_state_create()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_shader.c | 416 if (templ->ir_type == PIPE_SHADER_IR_NIR) { in softpipe_create_compute_state() 424 assert(templ->ir_type == PIPE_SHADER_IR_TGSI); in softpipe_create_compute_state()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_compute.c | 72 state.ir_type = PIPE_SHADER_IR_TGSI; in blit_compute_shader()
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_screen.c | 114 enum pipe_shader_ir ir_type, in tegra_screen_get_compute_param() argument 120 return screen->gpu->get_compute_param(screen->gpu, ir_type, param, in tegra_screen_get_compute_param()
|