Home
last modified time | relevance | path

Searched refs:interp_mode (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_interpolation_map.c46 if (slot != -1 && prog_data->interp_mode[slot] == INTERP_MODE_NONE) { in gfx4_frag_prog_set_interp_modes()
47 prog_data->interp_mode[slot] = interp; in gfx4_frag_prog_set_interp_modes()
49 if (prog_data->interp_mode[slot] == INTERP_MODE_FLAT) { in gfx4_frag_prog_set_interp_modes()
51 } else if (prog_data->interp_mode[slot] == INTERP_MODE_NOPERSPECTIVE) { in gfx4_frag_prog_set_interp_modes()
64 memset(prog_data->interp_mode, 0, sizeof(prog_data->interp_mode)); in brw_setup_vue_interpolation()
74 prog_data->interp_mode[pos_slot] = INTERP_MODE_NOPERSPECTIVE; in brw_setup_vue_interpolation()
104 get_qual_name(prog_data->interp_mode[i]), in brw_setup_vue_interpolation()
Dbrw_compile_sf.c193 if (c->key.interp_mode[i] == INTERP_MODE_FLAT) { in copy_flatshaded_attributes()
207 if (c->key.interp_mode[i] == INTERP_MODE_FLAT) in count_flatshaded_attributes()
373 interp = c->key.interp_mode[vert_reg_to_vue_slot(c, reg, 0)]; in calculate_masks()
385 interp = c->key.interp_mode[vert_reg_to_vue_slot(c, reg, 1)]; in calculate_masks()
Dbrw_clip_util.c268 GLuint interp = c->key.interp_mode[slot]; in brw_clip_interp_vertex()
402 if (c->key.interp_mode[i] == INTERP_MODE_FLAT) { in brw_clip_copy_flatshaded_attributes()
Dbrw_compiler.h426 unsigned char interp_mode[65]; /* BRW_VARYING_SLOT_COUNT */ member
464 unsigned char interp_mode[65]; /* BRW_VARYING_SLOT_COUNT */ member
938 unsigned char interp_mode[65]; /* BRW_VARYING_SLOT_COUNT */ member
Dbrw_fs_nir.cpp3779 enum glsl_interp_mode interp_mode = in nir_emit_fs_intrinsic() local
3800 if (devinfo->ver < 6 && interp_mode == INTERP_MODE_SMOOTH) { in nir_emit_fs_intrinsic()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_load_barycentric_at_offset.c37 enum glsl_interp_mode interp_mode = nir_intrinsic_interp_mode(intr); in ir3_nir_lower_load_barycentric_at_offset_instr() local
43 nir_ssa_def *ij = nir_load_barycentric_pixel(b, 32, .interp_mode = interp_mode); in ir3_nir_lower_load_barycentric_at_offset_instr()
49 if (interp_mode != INTERP_MODE_SMOOTH) { in ir3_nir_lower_load_barycentric_at_offset_instr()
Dir3_nir_lower_load_barycentric_at_sample.c46 … return nir_load_barycentric_at_offset(b, 32, pos, .interp_mode = nir_intrinsic_interp_mode(intr)); in lower_load_barycentric_at_sample()
Dir3_compiler_nir.c1794 enum glsl_interp_mode interp_mode = nir_intrinsic_interp_mode(intr); in nir_intrinsic_barycentric_sysval() local
1799 if (interp_mode == INTERP_MODE_NOPERSPECTIVE) in nir_intrinsic_barycentric_sysval()
1805 if (interp_mode == INTERP_MODE_NOPERSPECTIVE) in nir_intrinsic_barycentric_sysval()
1811 if (interp_mode == INTERP_MODE_NOPERSPECTIVE) in nir_intrinsic_barycentric_sysval()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_interpolation.c63 const enum glsl_interp_mode interp_mode = in nir_lower_interpolation_block() local
67 assert(interp_mode != INTERP_MODE_NONE); in nir_lower_interpolation_block()
70 if (interp_mode != INTERP_MODE_SMOOTH && in nir_lower_interpolation_block()
71 interp_mode != INTERP_MODE_NOPERSPECTIVE) in nir_lower_interpolation_block()
Dnir_builder.h1599 unsigned interp_mode) in nir_load_barycentric() argument
1604 nir_intrinsic_set_interp_mode(bary, interp_mode); in nir_load_barycentric()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.h78 enum tgsi_interpolate_mode interp_mode,
88 enum tgsi_interpolate_mode interp_mode,
Du_simple_shaders.c288 enum tgsi_interpolate_mode interp_mode, in util_make_fragment_tex_shader_writemask() argument
302 assert(interp_mode == TGSI_INTERPOLATE_LINEAR || in util_make_fragment_tex_shader_writemask()
303 interp_mode == TGSI_INTERPOLATE_PERSPECTIVE); in util_make_fragment_tex_shader_writemask()
315 interp_mode ); in util_make_fragment_tex_shader_writemask()
366 enum tgsi_interpolate_mode interp_mode, in util_make_fragment_tex_shader() argument
374 interp_mode, in util_make_fragment_tex_shader()
/third_party/mesa3d/src/intel/blorp/
Dblorp.c374 STATIC_ASSERT(sizeof(key.key.interp_mode) == in blorp_ensure_sf_program()
375 sizeof(wm_prog_data->interp_mode)); in blorp_ensure_sf_program()
376 memcpy(key.key.interp_mode, wm_prog_data->interp_mode, in blorp_ensure_sf_program()
377 sizeof(key.key.interp_mode)); in blorp_ensure_sf_program()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h179 enum tgsi_interpolate_mode interp_mode,
190 enum tgsi_interpolate_mode interp_mode,
199 enum tgsi_interpolate_mode interp_mode) in ureg_DECL_fs_input() argument
204 interp_mode, in ureg_DECL_fs_input()
Dtgsi_ureg.c292 enum tgsi_interpolate_mode interp_mode, in ureg_DECL_fs_input_centroid_layout() argument
307 assert(ureg->input[i].interp == interp_mode); in ureg_DECL_fs_input_centroid_layout()
323 ureg->input[i].interp = interp_mode; in ureg_DECL_fs_input_centroid_layout()
344 enum tgsi_interpolate_mode interp_mode, in ureg_DECL_fs_input_centroid() argument
350 semantic_name, semantic_index, interp_mode, in ureg_DECL_fs_input_centroid()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c71 vinfo.interp_mode[0] = INTERP_LINEAR; in set_feedback_vertex_format()
79 vinfo.interp_mode[i] = INTERP_LINEAR; in set_feedback_vertex_format()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1301 uint8_t *interp_mode, in tu6_vpc_varying_mode() argument
1325 *interp_mode = 0; in tu6_vpc_varying_mode()
1337 *interp_mode |= INTERP_ZERO << shift; in tu6_vpc_varying_mode()
1341 *interp_mode |= INTERP_ONE << 6; in tu6_vpc_varying_mode()
1347 *interp_mode |= INTERP_FLAT << shift; in tu6_vpc_varying_mode()
1368 uint8_t interp_mode; in tu6_emit_vpc_varying_modes() local
1371 tu6_vpc_varying_mode(fs, i, &interp_mode, &ps_repl_mode); in tu6_emit_vpc_varying_modes()
1377 interp_modes[n] |= interp_mode << shift; in tu6_emit_vpc_varying_modes()
1383 interp_modes[n] |= interp_mode >> shift; in tu6_emit_vpc_varying_modes()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c2111 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_clip()
2283 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_sf()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3795 unsigned interp_mode = c->interp[input_idx].mode; in ntq_emit_intrinsic() local
3803 interp_mode); in ntq_emit_intrinsic()
/third_party/ffmpeg/libavfilter/
Dvf_lut3d.c48 enum interp_mode { enum
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst1020 - pan/bi: Extract LD_VAR sample field from ins->load_vary.interp_mode
D22.2.0.rst1944 - ir3: Make sure to pass the interp_mode through in our load_bary lowering.