Searched refs:sample_index (Results 1 - 25 of 84) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_msaa.c53 unsigned grid_width, grid_height, size, pixel, sample_index; local in function:update_sample_locations
73 for (sample_index = 0; sample_index < samples; sample_index++) {
74 int table_index = sample_index;
78 table_index = pixel * samples + sample_index;
88 locations[pixel * samples + sample_index] = loc;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_msaa.c53 unsigned grid_width, grid_height, size, pixel, sample_index; local in function:update_sample_locations
73 for (sample_index = 0; sample_index < samples; sample_index++) {
74 int table_index = sample_index;
78 table_index = pixel * samples + sample_index;
88 locations[pixel * samples + sample_index] = loc;
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dv3d_nir_lower_txf_ms.c31 * a plain txf with the sample_index pulling out the correct texel from the
45 int sample_index = nir_tex_instr_src_index(instr, nir_tex_src_ms_index); local in function:v3d_nir_lower_txf_ms_instr
47 nir_ssa_def *sample = instr->src[sample_index].src.ssa;
64 nir_tex_instr_remove_src(instr, sample_index);
/xsrc/external/mit/MesaLib.old/dist/src/broadcom/compiler/
H A Dv3d_nir_lower_txf_ms.c31 * a plain txf with the sample_index pulling out the correct texel from the
47 int sample_index = nir_tex_instr_src_index(instr, nir_tex_src_ms_index); local in function:vc4_nir_lower_txf_ms_instr
49 nir_ssa_def *sample = instr->src[sample_index].src.ssa;
66 nir_tex_instr_remove_src(instr, sample_index);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dcayman_msaa.c83 unsigned sample_index, float *out_value)
95 offset = 4 * (sample_index * 2);
102 offset = 4 * (sample_index * 2);
109 offset = 4 * (sample_index % 4 * 2);
110 index = (sample_index / 4) * 4;
117 offset = 4 * (sample_index % 4 * 2);
118 index = (sample_index / 4) * 4;
82 cayman_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dcayman_msaa.c83 unsigned sample_index, float *out_value)
95 offset = 4 * (sample_index * 2);
102 offset = 4 * (sample_index * 2);
109 offset = 4 * (sample_index % 4 * 2);
110 index = (sample_index / 4) * 4;
117 offset = 4 * (sample_index % 4 * 2);
118 index = (sample_index / 4) * 4;
82 cayman_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_txf_ms.c54 nir_ssa_def *coord = NULL, *sample_index = NULL; local in function:vc4_nir_lower_txf_ms_instr
63 sample_index = txf_ms->src[i].src.ssa;
70 assert(sample_index);
116 nir_ssa_def *sample_addr = nir_ishl(b, sample_index, nir_imm_int(b, 4));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_txf_ms.c51 nir_ssa_def *coord = NULL, *sample_index = NULL; local in function:vc4_nir_lower_txf_ms_instr
60 sample_index = txf_ms->src[i].src.ssa;
67 assert(sample_index);
113 nir_ssa_def *sample_addr = nir_ishl(b, sample_index, nir_imm_int(b, 4));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_msaa.c121 unsigned sample_index, float *out_value)
144 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f;
145 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f;
120 si_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_msaa.c123 unsigned sample_index, float *out_value)
146 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f;
147 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f;
122 si_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_equals.cpp178 if (!lod_info.sample_index->equals(other->lod_info.sample_index, ignore))
H A Dir_clone.cpp244 new_tex->lod_info.sample_index = this->lod_info.sample_index->clone(mem_ctx, ht);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_equals.cpp178 if (!lod_info.sample_index->equals(other->lod_info.sample_index, ignore))
H A Dir_clone.cpp238 new_tex->lod_info.sample_index = this->lod_info.sample_index->clone(mem_ctx, ht);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_context.c142 unsigned sample_count, unsigned sample_index,
156 xy[0] = 0.5 + xoffsets[sample_index] * .125;
157 xy[1] = .125 + sample_index * .25;
141 v3d_get_sample_position(struct pipe_context * pctx,unsigned sample_count,unsigned sample_index,float * xy) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_context.c69 unsigned sample_index,
97 out_value[0] = u.a.x[sample_index];
98 out_value[1] = u.a.y[sample_index];
67 iris_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_context.c151 unsigned sample_index,
179 out_value[0] = u.a.x[sample_index];
180 out_value[1] = u.a.y[sample_index];
149 crocus_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_context.c137 unsigned sample_index,
165 out_value[0] = u.a.x[sample_index];
166 out_value[1] = u.a.y[sample_index];
135 iris_get_sample_position(struct pipe_context * ctx,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_context.c325 unsigned sample_count, unsigned sample_index,
339 xy[0] = 0.5 + xoffsets[sample_index] * .125;
340 xy[1] = .125 + sample_index * .25;
324 v3d_get_sample_position(struct pipe_context * pctx,unsigned sample_count,unsigned sample_index,float * xy) argument
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dsi_cmd_buffer.c1436 unsigned sample_index, float *out_value)
1448 offset = 4 * (sample_index * 2);
1455 offset = 4 * (sample_index * 2);
1462 offset = 4 * (sample_index % 4 * 2);
1463 index = (sample_index / 4) * 4;
1470 offset = 4 * (sample_index % 4 * 2);
1471 index = (sample_index / 4) * 4;
1434 radv_cayman_get_sample_position(struct radv_device * device,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_context.c423 unsigned sample_count, unsigned sample_index,
458 xy[0] = ptr[sample_index][0] * 0.0625f;
459 xy[1] = ptr[sample_index][1] * 0.0625f;
422 nv50_context_get_sample_position(struct pipe_context * pipe,unsigned sample_count,unsigned sample_index,float * xy) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_context.c576 unsigned sample_count, unsigned sample_index,
585 xy[0] = ptr[sample_index][0] * 0.0625f;
586 xy[1] = ptr[sample_index][1] * 0.0625f;
575 nvc0_context_get_sample_position(struct pipe_context * pipe,unsigned sample_count,unsigned sample_index,float * xy) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_surface.c247 unsigned sample_index,
252 out_value[0] = lp_sample_pos_4x[sample_index][0];
253 out_value[1] = lp_sample_pos_4x[sample_index][1];
245 llvmpipe_get_sample_position(struct pipe_context * pipe,unsigned sample_count,unsigned sample_index,float * out_value) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_context.c451 unsigned sample_count, unsigned sample_index,
486 xy[0] = ptr[sample_index][0] * 0.0625f;
487 xy[1] = ptr[sample_index][1] * 0.0625f;
450 nv50_context_get_sample_position(struct pipe_context * pipe,unsigned sample_count,unsigned sample_index,float * xy) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_context.c632 unsigned sample_count, unsigned sample_index,
641 xy[0] = ptr[sample_index][0] * 0.0625f;
642 xy[1] = ptr[sample_index][1] * 0.0625f;
631 nvc0_context_get_sample_position(struct pipe_context * pipe,unsigned sample_count,unsigned sample_index,float * xy) argument

Completed in 17 milliseconds

1234