Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_PRIMITIVE_ID (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/compiler/
Dshader_enums.h280 VARYING_SLOT_PRIMITIVE_ID, /* Does not appear in VS */ enumerator
368 #define VARYING_BIT_PRIMITIVE_ID BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_ID)
Dshader_enums.c182 ENUM(VARYING_SLOT_PRIMITIVE_ID), in gl_varying_slot_name()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c65 case VARYING_SLOT_PRIMITIVE_ID: in tgsi_get_gl_varying_semantic()
/external/mesa3d/src/compiler/glsl/tests/
Dbuiltin_variable_test.cpp211 EXPECT_NE(VARYING_SLOT_PRIMITIVE_ID, var->data.location); in TEST_F()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_geometry.cpp127 output->data.location == VARYING_SLOT_PRIMITIVE_ID || in do_process_outputs()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp340 idx == VARYING_SLOT_PRIMITIVE_ID || idx == VARYING_SLOT_VIEWPORT || in setup_vs_output_info()
354 assert(outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] == AC_EXP_PARAM_UNDEFINED); in setup_vs_output_info()
355 outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = outinfo->param_exports++; in setup_vs_output_info()
Daco_instruction_selection.cpp10242 ctx->outputs.mask[VARYING_SLOT_PRIMITIVE_ID] |= 0x1; in create_vs_exports()
10244 … ctx->outputs.temps[VARYING_SLOT_PRIMITIVE_ID * 4u] = get_arg(ctx, ctx->args->ac.tes_patch_id); in create_vs_exports()
10246 ctx->outputs.temps[VARYING_SLOT_PRIMITIVE_ID * 4u] = get_arg(ctx, ctx->args->vs_prim_id); in create_vs_exports()
10280 i != VARYING_SLOT_PRIMITIVE_ID && in create_vs_exports()
11308 ctx->outputs.mask[VARYING_SLOT_PRIMITIVE_ID] |= 0x1; in ngg_nogs_export_vertices()
11309 ctx->outputs.temps[VARYING_SLOT_PRIMITIVE_ID * 4u] = prim_id; in ngg_nogs_export_vertices()
11311 export_vs_varying(ctx, VARYING_SLOT_PRIMITIVE_ID, false, nullptr); in ngg_nogs_export_vertices()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp1249 var = add_input(VARYING_SLOT_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_gs_special_vars()
1252 var = add_output(VARYING_SLOT_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_gs_special_vars()
1295 var = add_input(VARYING_SLOT_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_fs_special_vars()
Dglsl_to_nir.cpp508 ir->data.location == VARYING_SLOT_PRIMITIVE_ID) { in visit()
/external/mesa3d/src/freedreno/ir3/
Dir3_shader.h930 if (k < 0 && fs->inputs[j].slot == VARYING_SLOT_PRIMITIVE_ID) { in ir3_link_shaders()
Dir3_compiler_nir.c3171 case VARYING_SLOT_PRIMITIVE_ID: in setup_output()
3570 so->outputs[n].slot = VARYING_SLOT_PRIMITIVE_ID; in ir3_compile_shader_nir()
/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp514 attribute_map[VARYING_SLOT_PRIMITIVE_ID] = attributes_per_reg * reg; in setup_payload()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c452 case VARYING_SLOT_PRIMITIVE_ID: in si_build_param_exports()
720 outputs[i].semantic = VARYING_SLOT_PRIMITIVE_ID; in si_llvm_emit_vs_epilogue()
Dsi_state_shaders.c3277 semantic == VARYING_SLOT_PRIMITIVE_ID) in si_get_ps_input_cntl()
3308 if (semantic == VARYING_SLOT_PRIMITIVE_ID) { in si_get_ps_input_cntl()
Dgfx10_shader_ngg.c1410 outputs[i].semantic = VARYING_SLOT_PRIMITIVE_ID; in gfx10_emit_ngg_epilogue()
Dsi_shader.c144 case VARYING_SLOT_PRIMITIVE_ID: in si_shader_io_get_unique_index()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c347 case VARYING_SLOT_PRIMITIVE_ID: in gather_info_input_decl_ps()
Dradv_nir_to_llvm.c1717 slot_name != VARYING_SLOT_PRIMITIVE_ID && in radv_build_param_exports()
1930 outputs[noutput].slot_name = VARYING_SLOT_PRIMITIVE_ID; in handle_vs_outputs_post()
2855 outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = param_count++; in handle_ngg_outputs_post_2()
Dradv_pipeline.c4724 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID]; in radv_pipeline_generate_ps_inputs()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c825 *location = VARYING_SLOT_PRIMITIVE_ID; in vtn_get_builtin_location()
827 *location = VARYING_SLOT_PRIMITIVE_ID; in vtn_get_builtin_location()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c967 case VARYING_SLOT_PRIMITIVE_ID: in st_translate_fragment_program()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c130 return VARYING_SLOT_PRIMITIVE_ID; in tgsi_varying_semantic_to_slot()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c4007 case VARYING_SLOT_PRIMITIVE_ID: in iris_emit_sbe_swiz()