| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| radeon_maos.h | 40 extern void radeonEmitArrays( struct gl_context *ctx, GLuint inputs );
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| radeon_maos.h | 40 extern void radeonEmitArrays( struct gl_context *ctx, GLuint inputs );
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/ |
| test_builder.cpp | 37 writeout(0, bld.v_mul_imm(bld.def(v1), inputs[0], 0)); 40 writeout(1, bld.v_mul_imm(bld.def(v1), inputs[0], 1)); 44 writeout(2, bld.v_mul_imm(bld.def(v1), inputs[0], 4)); 48 writeout(3, bld.v_mul_imm(bld.def(v1), inputs[0], 2147483648u)); 56 writeout(4, bld.v_mul_imm(bld.def(v1), inputs[0], 9)); 63 writeout(5, bld.v_mul_imm(bld.def(v1), inputs[0], 7)); 74 writeout(6, bld.v_mul_imm(bld.def(v1), inputs[0], 4 | 64)); 83 writeout(7, bld.v_mul_imm(bld.def(v1), inputs[0], 4 | 64 | 256)); 93 writeout(8, bld.v_mul_imm(bld.def(v1), inputs[0], 4 | 64 | 256 | 2048)); 104 writeout(9, bld.v_mul_imm(bld.def(v1), inputs[0], 2 | 4)) [all...] |
| test_sdwa.cpp | 37 SDWA_instruction *sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa(); 40 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1b), inputs[0], inputs[1]).instr->sdwa(); 42 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa(); 60 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]); 75 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[2], inputs[1]) [all...] |
| test_optimizer.cpp | 36 Temp neg_b = fneg(inputs[1]); 37 writeout(0, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_b)); 43 Temp neg_a = fneg(inputs[0]); 49 writeout(2, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), neg_neg_a, inputs[1])); 54 writeout(3, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), abs_neg_a, inputs[1])); 58 Temp abs_a = fabs(inputs[0]); 60 writeout(4, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), neg_abs_a, inputs[1])); 64 writeout(5, bld.vop2_dpp(aco_opcode::v_mul_f32, bld.def(v1), neg_a, inputs[1], dpp_row_sl(1))); 68 writeout(6, bld.vop2(aco_opcode::v_add_f32, bld.def(v1), neg_a, inputs[1])); 72 writeout(7, bld.vop2(aco_opcode::v_add_f32, bld.def(v1), inputs[1], neg_a)) [all...] |
| test_regalloc.cpp | 47 Builder::Result tmp = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]); 69 Temp hi = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]).def(1).getTemp(); 93 Operand op(inputs[0]); 107 Operand op(inputs[1]); 112 bld.pseudo(aco_opcode::p_unit_test, inputs[0]); 124 Operand op(inputs[0]); 129 bld.pseudo(aco_opcode::p_unit_test, inputs[2]); 141 Operand op(inputs[0]); 146 bld.pseudo(aco_opcode::p_unit_test, inputs[1], inputs[2]) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_rast_linear_fallback.c | 96 const struct lp_rast_shader_inputs *inputs, 119 (const float (*)[4])GET_A0(inputs), 120 (const float (*)[4])GET_DADX(inputs), 121 (const float (*)[4])GET_DADY(inputs), 132 const struct lp_rast_shader_inputs *inputs, 152 task->thread_data.raster_state.viewport_index = inputs->viewport_index; 159 (const float (*)[4])GET_A0(inputs), 160 (const float (*)[4])GET_DADX(inputs), 161 (const float (*)[4])GET_DADY(inputs), 174 const struct lp_rast_shader_inputs *inputs, [all...] |
| lp_rast_linear.c | 72 const struct lp_rast_shader_inputs *inputs = arg.shade_tile; local 77 if (inputs->disable) 88 inputs->is_blit) 95 (const float (*)[4])GET_A0(inputs), 96 (const float (*)[4])GET_DADX(inputs), 97 (const float (*)[4])GET_DADY(inputs), 110 (const float (*)[4])GET_A0(inputs), 111 (const float (*)[4])GET_DADX(inputs), 112 (const float (*)[4])GET_DADY(inputs), 124 lp_rast_linear_rect_fallback(task, inputs, &box) 138 const struct lp_rast_shader_inputs *inputs = &rect->inputs; local [all...] |
| lp_rast.h | 143 * plus inputs to run the shader: 154 /* inputs for the shader */ 155 struct lp_rast_shader_inputs inputs; member in struct:lp_rast_triangle 167 * be in this bin, plus inputs to run the shader: 180 /* inputs for the shader */ 181 struct lp_rast_shader_inputs inputs; member in struct:lp_rast_rectangle 191 #define GET_A0(inputs) ((float (*)[4])((inputs)+1)) 192 #define GET_DADX(inputs) ((float (*)[4])((char *)((inputs) + 1) + (inputs)->stride) [all...] |
| lp_setup_rect.c | 65 * \param nr_inputs number of fragment shader inputs 81 rect->inputs.stride = input_array_sz; 95 const struct lp_rast_shader_inputs *inputs, 103 if (inputs->opaque) { 123 if (inputs->is_blit) { 128 lp_rast_arg_inputs(inputs) ); 135 lp_rast_arg_inputs(inputs) ); 143 lp_rast_arg_inputs(inputs) ); 150 const struct lp_rast_shader_inputs *inputs) 165 dsdx = GET_DADX(inputs)[1][0]*texture->width [all...] |
| lp_rast_priv.h | 136 const struct lp_rast_shader_inputs *inputs, 141 const struct lp_rast_shader_inputs *inputs, 230 const struct lp_rast_shader_inputs *inputs, 250 inputs->layer + inputs->view_index); 260 depth = lp_rast_get_depth_block_pointer(task, x, y, inputs->layer + inputs->view_index); 275 task->thread_data.raster_state.viewport_index = inputs->viewport_index; 276 task->thread_data.raster_state.view_index = inputs->view_index; 282 inputs->frontfacing [all...] |
| lp_setup_point.c | 221 unsigned vert_attr = key->inputs[slot].src_index; 222 unsigned usage_mask = key->inputs[slot].usage_mask; 223 enum lp_interp interp = key->inputs[slot].interp; 491 point->inputs.frontfacing = v0[setup->face_slot][0]; 493 point->inputs.frontfacing = TRUE; 501 info.a0 = GET_A0(&point->inputs); 502 info.dadx = GET_DADX(&point->inputs); 503 info.dady = GET_DADY(&point->inputs); 504 info.frontfacing = point->inputs.frontfacing; 510 point->inputs.disable = FALSE [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_rast.h | 129 * plus inputs to run the shader: 140 /* inputs for the shader */ 141 struct lp_rast_shader_inputs inputs; member in struct:lp_rast_triangle 152 #define GET_A0(inputs) ((float (*)[4])((inputs)+1)) 153 #define GET_DADX(inputs) ((float (*)[4])((char *)((inputs) + 1) + (inputs)->stride)) 154 #define GET_DADY(inputs) ((float (*)[4])((char *)((inputs) + 1) + 2 * (inputs)->stride) [all...] |
| lp_rast_priv.h | 137 const struct lp_rast_shader_inputs *inputs, 225 const struct lp_rast_shader_inputs *inputs, 242 inputs->layer); 251 depth = lp_rast_get_depth_block_pointer(task, x, y, inputs->layer); 261 task->thread_data.raster_state.viewport_index = inputs->viewport_index; 267 inputs->frontfacing, 268 GET_A0(inputs), 269 GET_DADX(inputs), 270 GET_DADY(inputs),
|
| lp_bld_interp.h | 34 * inputs for posterior quads are done exclusively with additions, and 110 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS]; member in struct:lp_build_interp_soa_context 118 const struct lp_shader_input *inputs,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| pan_assemble.c | 70 struct panfrost_compile_inputs inputs = { local 75 memcpy(inputs.rt_formats, state->rt_formats, sizeof(inputs.rt_formats)); 80 screen->vtbl.compile_shader(s, &inputs, &binary, &state->info);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_shader.h | 288 * for front/back color inputs to frag shader: 556 * gl_vert_attrib - for VS inputs 584 * Note that sysval's should come *after* normal inputs. 604 } inputs[32 + 2]; /* +POSITION +FACE */ member in struct:ir3_shader_variant 607 * the varying inputs: 614 /* For frag shaders, the total number of inputs (not scalar, 858 if (so->inputs[i].compmask && so->inputs[i].bary) 942 if (fs->inputs[j].inloc >= fs->total_in) 945 k = ir3_find_output(vs, fs->inputs[j].slot) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/ |
| ir3_shader.c | 55 /* for vertex shader, the inputs are loaded into registers before the shader 71 /* skip frag inputs fetch via bary.f since their reg's are 75 if (v->inputs[i].bary) 81 if (v->inputs[i].regid >= regid(48,0)) 84 if (v->inputs[i].compmask) { 85 unsigned n = util_last_bit(v->inputs[i].compmask) - 1; 86 int32_t regid = v->inputs[i].regid + n; 87 if (v->inputs[i].half) { 327 if (!ir->inputs[i]) { 331 reg = ir->inputs[i]->regs[0] [all...] |
| ir3_shader.h | 162 * for front/back color inputs to frag shader: 383 * gl_vert_attrib - for VS inputs 398 * Note that sysval's should come *after* normal inputs. 420 } inputs[16 + 2]; /* +POSITION +FACE */ member in struct:ir3_shader_variant 423 * the varying inputs: 427 /* For frag shaders, the total number of inputs (not scalar, 594 if (so->inputs[i].compmask && so->inputs[i].bary) 635 if (fs->inputs[j].inloc >= fs->total_in) 638 k = ir3_find_output(vs, fs->inputs[j].slot) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_io_to_temporaries.c | 117 emit_copies(&b, &state->old_inputs, &state->shader->inputs); 148 bool outputs, bool inputs) 158 if (inputs) 159 exec_list_move_nodes_to(&shader->inputs, &state.old_inputs); 176 /* and same for inputs: */ 179 exec_list_push_tail(&shader->inputs, &input->node); 186 if (inputs)
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| pan_indirect_dispatch.c | 78 const struct indirect_dispatch_inputs *inputs) 81 pan_pool_alloc_aligned(pool, ALIGN_POT(sizeof(*inputs), 16), 16); 83 memcpy(inputs_buf.cpu, inputs, sizeof(*inputs)); 89 cfg.entries = DIV_ROUND_UP(sizeof(*inputs), 16); 98 const struct indirect_dispatch_inputs *inputs) 106 uint8_t *in = (uint8_t *)inputs; 124 struct indirect_dispatch_inputs inputs = { local 146 cfg.uniform_buffers = get_ubos(pool, &inputs); 147 cfg.push_uniforms = get_push_uniforms(pool, &inputs); 221 struct panfrost_compile_inputs inputs = { .gpu_id = dev->gpu_id }; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| prog_print.h | 59 _mesa_print_vp_inputs(GLbitfield inputs); 62 _mesa_print_fp_inputs(GLbitfield inputs);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| prog_print.h | 59 _mesa_print_vp_inputs(GLbitfield inputs); 62 _mesa_print_fp_inputs(GLbitfield inputs);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/ |
| t_draw.c | 274 const struct tnl_vertex_array *inputs, 285 const struct tnl_vertex_array *array = &inputs[i]; 516 /* Binding inputs may imply mapping some vertex buffer objects. 541 _tnl_init_inputs(struct tnl_inputs *inputs) 543 inputs->current = 0; 544 inputs->vertex_processing_mode = VP_MODE_FF; 555 struct tnl_inputs *inputs, GLbitfield enable) 566 struct tnl_vertex_array *input = &inputs->inputs[attr]; 582 struct tnl_inputs *inputs, GLbitfield current [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| t_draw.c | 277 const struct tnl_vertex_array *inputs, 289 const struct tnl_vertex_array *array = &inputs[i]; 518 /* Binding inputs may imply mapping some vertex buffer objects. 542 _tnl_init_inputs(struct tnl_inputs *inputs) 544 inputs->current = 0; 545 inputs->vertex_processing_mode = VP_MODE_FF; 556 struct tnl_inputs *inputs, GLbitfield enable) 567 struct tnl_vertex_array *input = &inputs->inputs[attr]; 583 struct tnl_inputs *inputs, GLbitfield current [all...] |