Home
last modified time | relevance | path

Searched refs:psiz (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_point_size.c46 nir_ssa_def *psiz = instr->src[1].ssa; in lower_point_size_instr() local
49 psiz = nir_fmax(b, psiz, nir_imm_float(b, min)); in lower_point_size_instr()
52 psiz = nir_fmin(b, psiz, nir_imm_float(b, max)); in lower_point_size_instr()
54 nir_instr_rewrite_src(&instr->instr, &instr->src[1], nir_src_for_ssa(psiz)); in lower_point_size_instr()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c102 prog->vp.psiz = i; in nv50_vertprog_assign_slots()
139 if (prog->vp.psiz < info->numOutputs) in nv50_vertprog_assign_slots()
140 prog->vp.psiz = prog->out[prog->vp.psiz].hw; in nv50_vertprog_assign_slots()
380 prog->vp.psiz = map_undef; in nv50_program_translate()
Dnv50_shader_state.c435 uint32_t psiz = 0x000; in nv50_fp_linkage_validate() local
516 psiz = (m << 4) | 1; in nv50_fp_linkage_validate()
517 map[m++] = vp->vp.psiz; in nv50_fp_linkage_validate()
574 PUSH_DATA (push, psiz); in nv50_fp_linkage_validate()
588 nv50->state.semantic_psize = psiz; in nv50_fp_linkage_validate()
Dnv50_program.h80 ubyte psiz; /* output slot of point size */ member
Dnv50_surface.c895 blit->vp.vp.psiz = 0x40; in nv50_blitter_make_vp()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp238 …nir_variable *psiz = nir_variable_create(nir, nir_var_shader_out, glsl_float_type(), "gl_PointSize… in st_nir_add_point_size() local
239 psiz->data.location = VARYING_SLOT_PSIZ; in st_nir_add_point_size()
240 psiz->data.how_declared = nir_var_hidden; in st_nir_add_point_size()
255 nir_deref_instr *deref = nir_build_deref_var(&b, psiz); in st_nir_add_point_size()
265 nir_deref_instr *deref = nir_build_deref_var(&b, psiz); in st_nir_add_point_size()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Ddxil_spirv_nir.c407 nir_variable *psiz = NULL; in dxil_spirv_nir_discard_point_size_var() local
410 psiz = var; in dxil_spirv_nir_discard_point_size_var()
415 if (!psiz) in dxil_spirv_nir_discard_point_size_var()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c732 update_psiz_location(nir_shader *nir, nir_variable *psiz) in update_psiz_location() argument
740 psiz->data.location = last_output; in update_psiz_location()
847 nir_variable *psiz = NULL; in update_so_info() local
859 psiz = var; in update_so_info()
967 if (have_fake_psiz && psiz) in update_so_info()
968 update_psiz_location(zs->nir, psiz); in update_so_info()
3194 nir_variable *psiz = NULL; in zink_shader_create() local
3200 psiz = var; in zink_shader_create()
3203 if (have_fake_psiz && psiz) { in zink_shader_create()
3204 psiz->data.mode = nir_var_shader_temp; in zink_shader_create()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c2539 mali_ptr *psiz, in panfrost_emit_varying_descriptor() argument
2609 *psiz = panfrost_emit_varyings(batch, in panfrost_emit_varying_descriptor()
3463 mali_ptr pos, mali_ptr psiz, bool secondary_shader, in panfrost_draw_emit_tiler() argument
3488 panfrost_emit_primitive_size(ctx, prim == PIPE_PRIM_POINTS, psiz, prim_size); in panfrost_draw_emit_tiler()
3686 mali_ptr varyings = 0, vs_vary = 0, fs_vary = 0, pos = 0, psiz = 0; in panfrost_direct_draw() local
3692 NULL, &pos, &psiz, in panfrost_direct_draw()
3732 fs_vary, varyings, pos, psiz, secondary_shader, in panfrost_direct_draw()
3802 mali_ptr varyings = 0, vs_vary = 0, fs_vary = 0, pos = 0, psiz = 0; in panfrost_indirect_draw() local
3827 &varying_buf_count, &pos, &psiz, in panfrost_indirect_draw()
3839 fs_vary, varyings, pos, psiz, secondary_shader, in panfrost_indirect_draw()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1527 nir_variable *psiz = nir_find_variable_with_location(nir, nir_var_shader_out, VARYING_SLOT_PSIZ); in agx_remap_varyings_vs() local
1528 if (psiz) { in agx_remap_varyings_vs()
1529 assert(psiz->data.driver_location < AGX_MAX_VARYINGS); in agx_remap_varyings_vs()
1530 remap[psiz->data.driver_location] = base; in agx_remap_varyings_vs()
/third_party/mksh/
Dvar.c662 size_t psiz; in formatstr() local
674 p = alloc((psiz = nlen * /* MB_LEN_MAX */ 3 + 1), ATEMP); in formatstr()
711 psiz - (vp->u2.field - slen), in formatstr()
720 shf_snprintf(p, psiz, "%-*.*s", in formatstr()
/third_party/mesa3d/docs/relnotes/
D20.1.1.rst107 - nir: reuse existing psiz-variable
D20.0.8.rst118 - nir: reuse existing psiz-variable
D22.1.0.rst495 - pan/bi: Force psiz to mediump
497 - pan/bi: Make psiz variants
2397 - zink: update psiz handling to fix xfb output
2452 - mesa/st: add a gl_program struct flag to skip psiz exports for xfb
2460 - mesa/st: count FF shaders as needing psiz export for precompile
2462 - mesa/st: make export_point_size shader key clobber existing psiz
D22.0.0.rst3156 - mesa/st: rework psiz lowering
3157 - mesa/st: lower psiz for shader precompile
D19.3.0.rst333 - pan/midgard: Use shared psiz clamp pass
D21.0.0.rst2454 - mesa/st: handle running nir lower passes for ucp and psiz in tess stage
D20.2.0.rst2080 - nir: reuse existing psiz-variable
D21.2.0.rst970 - asahi: Set bit for psiz
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state.c1213 float psiz = state->point_size; in r300_create_rs_state() local
1215 (pack_float_16_6x(psiz) << R300_GA_POINT_MINMAX_MIN_SHIFT) | in r300_create_rs_state()
1216 (pack_float_16_6x(psiz) << R300_GA_POINT_MINMAX_MAX_SHIFT); in r300_create_rs_state()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_visitor.cpp844 src_reg psiz = src_reg(output_reg[VARYING_SLOT_PSIZ][0]); in emit_psiz_and_flags() local
847 emit(MUL(header1_w, psiz, brw_imm_f((float)(1 << 11)))); in emit_psiz_and_flags()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_private.h620 mali_ptr psiz; member
Dpanvk_vX_cs.c472 cfg.size_array = draw->psiz; in panvk_emit_tiler_primitive_size()
Dpanvk_vX_cmd_buffer.c506 draw->psiz = varyings->buf[varyings->varying[VARYING_SLOT_PSIZ].buf].address + in panvk_draw_prepare_varyings()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c1033 bool psiz = (nir_intrinsic_io_semantics(instr).location == VARYING_SLOT_PSIZ); in bi_emit_store_vary() local
1050 if (psiz) { in bi_emit_store_vary()
4854 nir_variable *psiz = nir_find_variable_with_location(nir, in bi_finalize_nir() local
4857 if (psiz != NULL) in bi_finalize_nir()
4858 psiz->data.precision = GLSL_PRECISION_MEDIUM; in bi_finalize_nir()

12