Home
last modified time | relevance | path

Searched refs:vertex_id (Results 1 – 25 of 47) sorted by relevance

12

/external/clang/utils/analyzer/
Dubiviz52 vertex_id = data[1]
54 G.change_vertex_style(vertex_id,style_id)
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_util.c120 stage->tmp[i]->vertex_id = UNDEFINED_VERTEX_ID; in draw_reset_vertex_ids()
132 ((struct vertex_header *)verts)->vertex_id = UNDEFINED_VERTEX_ID; in draw_reset_vertex_ids()
Ddraw_pipe_vbuf.c121 if (vertex->vertex_id == UNDEFINED_VERTEX_ID && vbuf->vertex_ptr) { in emit_vertex()
134 vertex->vertex_id = vbuf->nr_vertices++; in emit_vertex()
137 return (ushort)vertex->vertex_id; in emit_vertex()
Ddraw_pipe.h127 tmp->vertex_id = UNDEFINED_VERTEX_ID; in dup_vert()
Ddraw_pt_post_vs.c62 header->vertex_id = UNDEFINED_VERTEX_ID; in initialize_vertex_header()
Ddraw_pipe_unfilled.c83 v->vertex_id = UNDEFINED_VERTEX_ID; in inject_front_face_info()
Ddraw_private.h92 unsigned vertex_id:16; member
Ddraw_llvm.c845 LLVMValueRef vertex_id; in adjust_mask() local
850 vertex_id = LLVMBuildLShr(builder, mask, lp_build_const_int32(gallivm, 16), ""); in adjust_mask()
860 mask = LLVMBuildOr(builder, vertex_id, clipmask, ""); in adjust_mask()
1896 system_values.vertex_id = true_index_array; in draw_llvm_generate()
Ddraw_pipe_clip.c152 dst->vertex_id = UNDEFINED_VERTEX_ID; in interp()
/external/mesa3d/src/amd/vulkan/
Dradv_meta.c424 …nir_intrinsic_instr *vertex_id = nir_intrinsic_instr_create(vs_b->shader, nir_intrinsic_load_verte… in radv_meta_gen_rect_vertices_comp2() local
425 nir_ssa_dest_init(&vertex_id->instr, &vertex_id->dest, 1, 32, "vertexid"); in radv_meta_gen_rect_vertices_comp2()
426 nir_builder_instr_insert(vs_b, &vertex_id->instr); in radv_meta_gen_rect_vertices_comp2()
434 nir_ssa_def *c0cmp = nir_ine(vs_b, &vertex_id->dest.ssa, in radv_meta_gen_rect_vertices_comp2()
436 nir_ssa_def *c1cmp = nir_ine(vs_b, &vertex_id->dest.ssa, in radv_meta_gen_rect_vertices_comp2()
Dradv_meta_blit.c72 …nir_intrinsic_instr *vertex_id = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_vertex_id… in build_nir_vertex_shader() local
73 nir_ssa_dest_init(&vertex_id->instr, &vertex_id->dest, 1, 32, "vertexid"); in build_nir_vertex_shader()
74 nir_builder_instr_insert(&b, &vertex_id->instr); in build_nir_vertex_shader()
82 nir_ssa_def *c0cmp = nir_ine(&b, &vertex_id->dest.ssa, in build_nir_vertex_shader()
84 nir_ssa_def *c1cmp = nir_ine(&b, &vertex_id->dest.ssa, in build_nir_vertex_shader()
Dradv_meta_blit2d.c394 …nir_intrinsic_instr *vertex_id = nir_intrinsic_instr_create(b.shader, nir_intrinsic_load_vertex_id… in build_nir_vertex_shader() local
395 nir_ssa_dest_init(&vertex_id->instr, &vertex_id->dest, 1, 32, "vertexid"); in build_nir_vertex_shader()
396 nir_builder_instr_insert(&b, &vertex_id->instr); in build_nir_vertex_shader()
404 nir_ssa_def *c0cmp = nir_ine(&b, &vertex_id->dest.ssa, in build_nir_vertex_shader()
406 nir_ssa_def *c1cmp = nir_ine(&b, &vertex_id->dest.ssa, in build_nir_vertex_shader()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTCTE.cpp929 unsigned int vertex_id = n_vertex / run.n_result_vertices_per_patch; in iterate() local
930 float expected_value = 1.0f / (float(vertex_id) + 1.0f); in iterate()
990 unsigned int vertex_id = n_vertex / run.n_result_vertices_per_patch; in iterate() local
991 …_vec4 expected_value = _vec4((float)vertex_id, ((float)vertex_id) * 0.5f, ((float)vertex_id) * 0… in iterate()
992 ((float)vertex_id) * 0.125f); in iterate()
1035 unsigned int vertex_id = n_vertex / run.n_result_vertices_per_patch; in iterate() local
1036 _ivec4 expected_value = _ivec4(vertex_id, vertex_id + 1, vertex_id + 2, vertex_id + 3); in iterate()
1071 unsigned int vertex_id = n_vertex / run.n_result_vertices_per_patch; in iterate() local
1072 float expected_value = 2.0f / (float(vertex_id) + 1.0f); in iterate()
1135 unsigned int vertex_id = n_vertex / run.n_result_vertices_per_patch; in iterate() local
[all …]
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderInput.cpp422 …for (unsigned int vertex_id = 0; vertex_id < m_n_vertices_emitted_per_primitive * m_n_emitted_prim… in iterate() local
423 ++vertex_id) in iterate()
425 const unsigned int vertex_offset = vertex_id * m_n_bytes_emitted_per_vertex; in iterate()
433 ivec4_data_ptr[1] = vertex_id; in iterate()
437 vec2_data_ptr[0] = (float)vertex_id; in iterate()
DesextcGeometryShaderAPI.cpp2717 for (glw::GLuint vertex_id = 0; vertex_id < number_of_indices; ++vertex_id) in iterate() local
2724 if (vertex_id % atomic_counter_id == 0) in iterate()
/external/mesa3d/src/amd/common/
Dac_shader_abi.h45 LLVMValueRef vertex_id; member
Dac_nir_to_llvm.c703 add_arg(args, ARG_VGPR, ctx->ac.i32, &ctx->abi.vertex_id); in declare_vs_input_vgprs()
4371 result = ctx->abi->vertex_id; in visit_intrinsic()
5365 buffer_index = LLVMBuildAdd(ctx->builder, ctx->abi.vertex_id, in handle_vs_input_decl()
6220 LLVMValueRef vertex_id = ctx->rel_auto_id; in handle_ls_outputs_post() local
6222 LLVMValueRef base_dw_addr = LLVMBuildMul(ctx->builder, vertex_id, in handle_ls_outputs_post()
6734 …ctx->vs_prim_id = LLVMBuildSelect(ctx->ac.builder, hs_empty, ctx->abi.vertex_id, ctx->vs_prim_id, … in ac_nir_fixup_ls_hs_input_vgprs()
6736 …ctx->abi.vertex_id = LLVMBuildSelect(ctx->ac.builder, hs_empty, ctx->abi.tcs_patch_id, ctx->abi.ve… in ac_nir_fixup_ls_hs_input_vgprs()
7182 args[1] = LLVMBuildMul(ctx->builder, ctx->abi.vertex_id, LLVMConstInt(ctx->ac.i32, 4, false), ""); in ac_gs_copy_shader_emit()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h168 LLVMValueRef vertex_id; member
Dlp_bld_tgsi_soa.c1626 res = bld->system_values.vertex_id; in emit_fetch_system_value()
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.h334 SYSTEM_VALUE(vertex_id, 1, 0, xx, xx, xx)
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c72 struct ir3_instruction *vertex_id, *basevertex, *instance_id; member
2086 if (!ctx->vertex_id) { in emit_intrinsic()
2089 ctx->vertex_id = create_input(b, 0); in emit_intrinsic()
2090 add_sysval_input(ctx, sv, ctx->vertex_id); in emit_intrinsic()
2092 dst[0] = ctx->vertex_id; in emit_intrinsic()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c492 LLVMValueRef vertex_id = ctx->abi.vertex_id; in si_llvm_load_input_vs() local
494 LLVMIntULE, vertex_id, in si_llvm_load_input_vs()
500 LLVMIntNE, vertex_id, in si_llvm_load_input_vs()
1995 ctx->abi.vertex_id, in si_load_system_value()
3469 LLVMValueRef vertex_id = LLVMGetParam(ctx->main_fn, in si_llvm_emit_ls_epilogue() local
3472 LLVMValueRef base_dw_addr = LLVMBuildMul(ctx->ac.builder, vertex_id, in si_llvm_emit_ls_epilogue()
4608 add_arg_assign(fninfo, ARG_VGPR, ctx->i32, &ctx->abi.vertex_id); in declare_vs_input_vgprs()
5679 lp_build_mul_imm(uint, ctx.abi.vertex_id, 4); in si_generate_gs_copy_shader()
7182 ctx->abi.vertex_id = input_vgprs[first_vs_vgpr]; in si_build_vs_prolog_function()
7235 ctx->abi.vertex_id, in si_build_vs_prolog_function()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp812 system_values.vertex_id = wrap(LOAD(pVsCtx, {0, SWR_VS_CONTEXT_VertexID16})); in CompileVS()
814 system_values.vertex_id = wrap(LOAD(pVsCtx, {0, SWR_VS_CONTEXT_VertexID})); in CompileVS()
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles31-master.txt37820 dEQP-GLES31.functional.draw_base_vertex.draw_elements_base_vertex.builtin_variable.vertex_id
37858 dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.builtin_variable.vertex_id
37896 …P-GLES31.functional.draw_base_vertex.draw_elements_instanced_base_vertex.builtin_variable.vertex_id
/external/deqp/android/cts/master/
Dgles31-master.txt37682 dEQP-GLES31.functional.draw_base_vertex.draw_elements_base_vertex.builtin_variable.vertex_id
37720 dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.builtin_variable.vertex_id
37758 …P-GLES31.functional.draw_base_vertex.draw_elements_instanced_base_vertex.builtin_variable.vertex_id

12