Searched refs:fragcoord (Results 1 - 25 of 25) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_fb_read.c38 * coordinates should be the physical fragcoord, not the logical
54 nir_ssa_def *fragcoord = nir_load_frag_coord(b); local in function:lower_fb_read
57 fragcoord = nir_f2i32(b, fragcoord);
65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_fb_read.c38 * coordinates should be the physical fragcoord, not the logical
54 nir_ssa_def *fragcoord = nir_load_frag_coord(b); local in function:lower_fb_read
57 fragcoord = nir_f2i32(b, fragcoord);
65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2.h74 /* driver_location of fragcoord.zw, -1 if not used */
75 int fragcoord; member in struct:ir2_frag_linkage
H A Dir2_nir.c508 * zw from fragcoord input (w inverted in fragment shader)
519 instr->src[0] = ir2_src(ctx->f->fragcoord, 0, IR2_SRC_INPUT);
522 instr->src[0] = ir2_src(ctx->f->fragcoord, IR2_SWIZZLE_Y, IR2_SRC_INPUT);
762 /* half of fragcoord from param reg, half from a varying */
764 ctx->f->fragcoord = n;
818 /* fragcoord.zw and a20x hw binning outputs */
824 if (ctx->f->fragcoord < 0 && !binning)
844 /* fragcoord z/w */
845 if (ctx->f->fragcoord >= 0 && !binning) {
848 instr->alu.export = ctx->f->fragcoord;
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2.h74 /* driver_location of fragcoord.zw, -1 if not used */
75 int fragcoord; member in struct:ir2_frag_linkage
H A Dir2_nir.c515 * zw from fragcoord input (w inverted in fragment shader)
526 instr->src[0] = ir2_src(ctx->f->fragcoord, 0, IR2_SRC_INPUT);
529 instr->src[0] = ir2_src(ctx->f->fragcoord, IR2_SWIZZLE_Y, IR2_SRC_INPUT);
644 /* param.zw (note: abs might be needed like fragcoord in param.xy?) */
775 /* half of fragcoord from param reg, half from a varying */
777 ctx->f->fragcoord = n;
831 /* fragcoord.zw and a20x hw binning outputs */
837 if (ctx->f->fragcoord < 0 && !binning)
857 /* fragcoord z/w */
858 if (ctx->f->fragcoord >
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/
H A Dagx_blit.c42 nir_ssa_def *fragcoord = nir_load_frag_coord(&b); local in function:agx_build_reload_shader
43 nir_ssa_def *coord = nir_channels(&b, fragcoord, 0x3);
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A DMakefile.am47 fragcoord \ program in directory:bin
H A DMakefile.in118 @HAVE_GLUT_TRUE@ deriv$(EXEEXT) fragcoord$(EXEEXT) \
179 fragcoord_SOURCES = fragcoord.c
180 fragcoord_OBJECTS = fragcoord.$(OBJEXT)
329 convolutions.c deriv.c fragcoord.c fsraytrace.c \
339 bump.c convolutions.c deriv.c fragcoord.c fsraytrace.c \
722 fragcoord$(EXEEXT): $(fragcoord_OBJECTS) $(fragcoord_DEPENDENCIES) $(EXTRA_fragcoord_DEPENDENCIES)
723 @rm -f fragcoord$(EXEEXT)
860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fragcoord.Po@am__quote@
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D7.8.3.rst55 - GLSL: fix zw fragcoord entries in some cases (bug
H A D7.9.2.rst143 - st/mesa: fix incorrect fragcoord.x translation
H A D7.10.1.rst149 - st/mesa: fix incorrect fragcoord.x translation
H A D20.2.0.rst254 - freedreno/turnip: Don't request fragcoord components we don't use
2295 - freedreno,tu: Don't request fragcoord components not being read.
3992 - freedreno/a6xx: don't set SP_FS_CTRL_REG0.VARYING for fragcoord
H A D19.1.0.rst2797 - iris: fix fragcoord ytransform
4157 - freedreno/ir3: switch fragcoord to sysval
H A D20.1.0.rst709 - panfrost: Assert on unimplemented fragcoord etc
3640 - freedreno/ir3: create fragcoord instructions in input block
H A D19.3.0.rst1138 - turnip: Tell spirv_to_nir that we want fragcoord as a sysval.
H A D20.0.0.rst1849 - turnip: don't set SP_FS_CTRL_REG0_VARYING if only fragcoord is used
H A D20.3.0.rst1477 - freedreno/a5xx: Don't set the VARYING flag for fragcoord-only programs.
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_tris.c497 float *fragcoord = (float *)((char *)v + offset); local in function:intel_emit_fragcoord
499 fragcoord[0] = vertex_position[0];
502 fragcoord[1] = vertex_position[1];
504 fragcoord[1] = fb->Height - vertex_position[1];
506 fragcoord[2] = vertex_position[2];
507 fragcoord[3] = vertex_position[3];
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_tris.c497 float *fragcoord = (float *)((char *)v + offset); local in function:intel_emit_fragcoord
499 fragcoord[0] = vertex_position[0];
502 fragcoord[1] = vertex_position[1];
504 fragcoord[1] = fb->Height - vertex_position[1];
506 fragcoord[2] = vertex_position[2];
507 fragcoord[3] = vertex_position[3];
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_pbo.c453 nir_variable *fragcoord = local in function:create_fs_nir
456 fragcoord->data.location = pos_is_sysval ? SYSTEM_VALUE_FRAG_COORD
458 nir_ssa_def *coord = nir_load_var(&b, fragcoord);
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_pbo.c442 nir_variable *fragcoord = local in function:create_fs
445 fragcoord->data.location = pos_is_sysval ? SYSTEM_VALUE_FRAG_COORD
447 nir_ssa_def *coord = nir_load_var(&b, fragcoord);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/nir/
H A Dnir_draw_helpers.c46 nir_ssa_def *fragcoord; member in struct:__anon61fea76e0108
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c6245 * Emit the extra code to convert from VGPU10's fragcoord.w value to 1/w.
6261 struct tgsi_full_src_register fragcoord = local in function:emit_fragcoord_instructions
6269 /* MOV fragcoord_tmp.xyz, fragcoord.xyz */
6273 emit_src_register(emit, &fragcoord);
6276 /* DIV fragcoord_tmp.w, 1.0, fragcoord.w */
6281 emit_src_register(emit, &fragcoord);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c9863 * Emit the extra code to convert from VGPU10's fragcoord.w value to 1/w.
9879 struct tgsi_full_src_register fragcoord = local in function:emit_fragcoord_instructions
9887 /* MOV fragcoord_tmp.xyz, fragcoord.xyz */
9891 emit_src_register(emit, &fragcoord);
9894 /* DIV fragcoord_tmp.w, 1.0, fragcoord.w */
9899 emit_src_register(emit, &fragcoord);

Completed in 70 milliseconds