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.c192 if (c->key.interp_mode[i] == INTERP_MODE_FLAT) { in copy_flatshaded_attributes()
206 if (c->key.interp_mode[i] == INTERP_MODE_FLAT) in count_flatshaded_attributes()
372 interp = c->key.interp_mode[vert_reg_to_vue_slot(c, reg, 0)]; in calculate_masks()
384 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.h400 unsigned char interp_mode[65]; /* BRW_VARYING_SLOT_COUNT */ member
434 unsigned char interp_mode[65]; /* BRW_VARYING_SLOT_COUNT */ member
920 unsigned char interp_mode[65]; /* BRW_VARYING_SLOT_COUNT */ member
Dbrw_fs_nir.cpp3645 const glsl_interp_mode interp_mode = in nir_emit_fs_intrinsic() local
3648 brw_barycentric_mode(interp_mode, instr->intrinsic); in nir_emit_fs_intrinsic()
3762 enum glsl_interp_mode interp_mode = in nir_emit_fs_intrinsic() local
3773 brw_barycentric_mode(interp_mode, bary_intrin); in nir_emit_fs_intrinsic()
3784 if (devinfo->ver < 6 && interp_mode == INTERP_MODE_SMOOTH) { in nir_emit_fs_intrinsic()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf.c149 STATIC_ASSERT(sizeof(key.interp_mode) == in brw_upload_sf_prog()
150 sizeof(wm_prog_data->interp_mode)); in brw_upload_sf_prog()
151 memcpy(key.interp_mode, wm_prog_data->interp_mode, in brw_upload_sf_prog()
152 sizeof(key.interp_mode)); in brw_upload_sf_prog()
Dbrw_clip.c100 STATIC_ASSERT(sizeof(key.interp_mode) == in brw_upload_clip_prog()
101 sizeof(wm_prog_data->interp_mode)); in brw_upload_clip_prog()
102 memcpy(key.interp_mode, wm_prog_data->interp_mode, in brw_upload_clip_prog()
103 sizeof(key.interp_mode)); in brw_upload_clip_prog()
/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.h1733 unsigned interp_mode) in nir_load_barycentric() argument
1738 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.c373 STATIC_ASSERT(sizeof(key.key.interp_mode) == in blorp_ensure_sf_program()
374 sizeof(wm_prog_data->interp_mode)); in blorp_ensure_sf_program()
375 memcpy(key.key.interp_mode, wm_prog_data->interp_mode, in blorp_ensure_sf_program()
376 sizeof(key.key.interp_mode)); in blorp_ensure_sf_program()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h178 enum tgsi_interpolate_mode interp_mode,
189 enum tgsi_interpolate_mode interp_mode,
198 enum tgsi_interpolate_mode interp_mode) in ureg_DECL_fs_input() argument
203 interp_mode, in ureg_DECL_fs_input()
Dtgsi_ureg.c289 enum tgsi_interpolate_mode interp_mode, in ureg_DECL_fs_input_centroid_layout() argument
304 assert(ureg->input[i].interp == interp_mode); in ureg_DECL_fs_input_centroid_layout()
318 ureg->input[i].interp = interp_mode; in ureg_DECL_fs_input_centroid_layout()
339 enum tgsi_interpolate_mode interp_mode, in ureg_DECL_fs_input_centroid() argument
345 semantic_name, semantic_index, interp_mode, in ureg_DECL_fs_input_centroid()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c72 vinfo.interp_mode[0] = INTERP_LINEAR; in set_feedback_vertex_format()
80 vinfo.interp_mode[i] = INTERP_LINEAR; in set_feedback_vertex_format()
Dst_glsl_to_tgsi.cpp6750 enum tgsi_interpolate_mode interp_mode = TGSI_INTERPOLATE_CONSTANT; in st_translate_program() local
6754 interp_mode = interpMode[slot] != TGSI_INTERPOLATE_COUNT ? in st_translate_program()
6766 interp_mode, interp_location, slot, tgsi_usage_mask, in st_translate_program()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1254 uint8_t *interp_mode, in tu6_vpc_varying_mode() argument
1278 *interp_mode = 0; in tu6_vpc_varying_mode()
1290 *interp_mode |= INTERP_ZERO << shift; in tu6_vpc_varying_mode()
1294 *interp_mode |= INTERP_ONE << 6; in tu6_vpc_varying_mode()
1300 *interp_mode |= INTERP_FLAT << shift; in tu6_vpc_varying_mode()
1321 uint8_t interp_mode; in tu6_emit_vpc_varying_modes() local
1324 tu6_vpc_varying_mode(fs, i, &interp_mode, &ps_repl_mode); in tu6_emit_vpc_varying_modes()
1330 interp_modes[n] |= interp_mode << shift; in tu6_emit_vpc_varying_modes()
1336 interp_modes[n] |= interp_mode >> shift; in tu6_emit_vpc_varying_modes()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c2082 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_clip()
2254 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_sf()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c1523 enum glsl_interp_mode interp_mode = nir_intrinsic_interp_mode(intr); in nir_intrinsic_barycentric_sysval() local
1528 if (interp_mode == INTERP_MODE_NOPERSPECTIVE) in nir_intrinsic_barycentric_sysval()
1534 if (interp_mode == INTERP_MODE_NOPERSPECTIVE) in nir_intrinsic_barycentric_sysval()
1540 if (interp_mode == INTERP_MODE_NOPERSPECTIVE) in nir_intrinsic_barycentric_sysval()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3262 unsigned interp_mode = c->interp[input_idx].mode; in ntq_emit_intrinsic() local
3270 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