Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_CLIP_DIST0 (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_vs_visitor.cpp183 output_reg[VARYING_SLOT_CLIP_DIST0][0] = in emit_thread_end()
187 output_num_components[VARYING_SLOT_CLIP_DIST0][0] = 4; in emit_thread_end()
190 emit_clip_distances(output_reg[VARYING_SLOT_CLIP_DIST0][0], 0); in emit_thread_end()
Dbrw_vue_map.c80 slots_valid |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0); in brw_compute_vue_map()
135 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0)) in brw_compute_vue_map()
136 assign_vue_slot(vue_map, VARYING_SLOT_CLIP_DIST0, slot++); in brw_compute_vue_map()
Dbrw_fs_visitor.cpp569 this->outputs[VARYING_SLOT_CLIP_DIST0] = vgrf(glsl_type::vec4_type); in compute_clip_distance()
574 const fs_reg output = offset(outputs[VARYING_SLOT_CLIP_DIST0 + i / 4], in compute_clip_distance()
Dbrw_vs.c80 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0); in brw_vs_outputs_written()
Dbrw_clip_line.c139 ? brw_varying_to_offset(&c->vue_map, VARYING_SLOT_CLIP_DIST0) in clip_and_emit_line()
Dbrw_vec4_visitor.cpp1189 output_reg[VARYING_SLOT_CLIP_DIST0][0].file != BAD_FILE || in emit_psiz_and_flags()
1205 if (output_reg[VARYING_SLOT_CLIP_DIST0][0].file != BAD_FILE) { in emit_psiz_and_flags()
1210 …emit(CMP(dst_null_f(), src_reg(output_reg[VARYING_SLOT_CLIP_DIST0][0]), brw_imm_f(0.0f), BRW_CONDI… in emit_psiz_and_flags()
Dbrw_clip_tri.c272 ? brw_varying_to_offset(&c->vue_map, VARYING_SLOT_CLIP_DIST0) in brw_clip_tri()
/external/mesa3d/src/compiler/nir/
Dnir_lower_clip_cull_distance_arrays.c97 if (var_ref->var->data.location != VARYING_SLOT_CLIP_DIST0 && in rewrite_references()
133 if (var->data.location == VARYING_SLOT_CLIP_DIST0) in combine_clip_cull()
157 cull->data.location = VARYING_SLOT_CLIP_DIST0; in combine_clip_cull()
Dnir_lower_clip.c228 case VARYING_SLOT_CLIP_DIST0: in nir_lower_clip_vs()
248 create_clipdist_var(shader, ++maxloc, true, VARYING_SLOT_CLIP_DIST0); in nir_lower_clip_vs()
323 VARYING_SLOT_CLIP_DIST0); in nir_lower_clip_fs()
/external/mesa3d/src/compiler/glsl/tests/
Dvaryings_test.cpp150 clipdistance->data.location = VARYING_SLOT_CLIP_DIST0; in TEST_F()
161 EXPECT_EQ(clipdistance, junk[VARYING_SLOT_CLIP_DIST0]); in TEST_F()
/external/mesa3d/src/compiler/
Dshader_enums.h207 VARYING_SLOT_CLIP_DIST0, enumerator
289 #define VARYING_BIT_CLIP_DIST0 BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0)
Dshader_enums.c152 ENUM(VARYING_SLOT_CLIP_DIST0), in gl_varying_slot_name()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c310 case VARYING_SLOT_CLIP_DIST0: in st_translate_vertex_program()
669 case VARYING_SLOT_CLIP_DIST0: in st_translate_fragment_program()
1261 case VARYING_SLOT_CLIP_DIST0: in st_translate_program_common()
1368 case VARYING_SLOT_CLIP_DIST0: in st_translate_program_common()
/external/mesa3d/src/compiler/glsl/
Dlower_distance.cpp171 (*new_var)->data.location = VARYING_SLOT_CLIP_DIST0; in visit()
Dbuiltin_variables.cpp1330 add_varying(VARYING_SLOT_CLIP_DIST0, array(float_t, 0), in generate_varyings()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c98 (1ULL << VARYING_SLOT_CLIP_DIST0) | in fd3_needs_manual_clipping()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c2135 if (instr->variables[0]->var->data.location == VARYING_SLOT_CLIP_DIST0 || in visit_store_var()
3911 if (idx == VARYING_SLOT_CLIP_DIST0 || in handle_shader_output_decl()
3914 if (idx == VARYING_SLOT_CLIP_DIST0) { in handle_shader_output_decl()
4143 const uint64_t clip_mask = ctx->output_mask & ((1ull << VARYING_SLOT_CLIP_DIST0) | in handle_vs_outputs_post()
4155 i = VARYING_SLOT_CLIP_DIST0; in handle_vs_outputs_post()
4192 } else if (i == VARYING_SLOT_CLIP_DIST0 || in handle_vs_outputs_post()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c127 return VARYING_SLOT_CLIP_DIST0; in tgsi_varying_semantic_to_slot()
165 [VARYING_SLOT_CLIP_DIST0] = { TGSI_SEMANTIC_CLIPDIST, 0 }, in varying_slot_to_tgsi_semantic()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c886 *location = VARYING_SLOT_CLIP_DIST0; /* XXX CLIP_DIST1? */ in vtn_get_builtin_location()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c2154 case VARYING_SLOT_CLIP_DIST0: in setup_output()