summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
2010-06-01tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca
It was not used anywhere; the code was buggy (it didn't take care of indirect registers and could potential cause buffer underflows) and the same effect can now be easily achieved by just by looking at input_semantic_name[] and input_usage_mask[].
2010-06-01tgsi: Remove tgsi-instruction-set.txt.José Fonseca
Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
2010-06-01tgsi: Determine which shader input channels are effectively.José Fonseca
TGSI's UsageMask flag is never set. We can move this logic into tgsi_ureg, but there there are still cases where's not used, so this seems a better place for now.
2010-05-19tgsi: Implement OPCODE_DIV.Michal Krol
2010-05-14tgsi: add a dummy function to silence warningBrian Paul
2010-05-12tgsi: also count instructions in tgsi_scan_shader()Brian Paul
2010-05-12softpipe: Adverstise (tgsi_exec's) shader limits.José Fonseca
2010-05-11mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().José Fonseca
This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
2010-05-07tgis: fix SOA aliasing for MUL instruction in SSE codegenBrian Paul
Part of a fix for piglit trinity-fp1 test failure.
2010-05-06tgsi: make SSE ADD instruction SOA-safeBrian Paul
To properly execute an instruction such as "ADD tmp, tmp.wzyx, foo;" with SOA we (sometimes) need to put the results into temporaries before writing the results to the destination register. This patch fixes the ADD instruction but this needs to be done for many more instructions. Helps to fix piglit fp-long-alu test (fd.o bug 27989).
2010-05-06tgsi: code refactoringBrian Paul
2010-05-06tgsi: added tgsi_get_processor_name()Brian Paul
2010-05-06tgsi: fix tgsi_exec_machine_bind_shader() to handle NULL tokens, samplersBrian Paul
This lets us unbind a shader from the tgsi_exec_machine. Since shaders aren't ref counted we need this to properly clean up when deleting shaders elsewhere.
2010-05-06gallium/tgsi: remove unused tgsi_exec_labels codeBrian Paul
2010-05-05tgsi: make dumping work on non-debug buildsMarek Olšák
2010-05-03tgsi: Parse and dump predicates.José Fonseca
2010-05-03gallium: Remove loop register file.José Fonseca
It was only used for D3D's REP/END/BGNFOR/ENDFOR. D3D's aL register is just like another address register now.
2010-04-27tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-18tgsi: add comment about potential code removalBrian Paul
2010-04-18tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul
2010-03-28aux/tgsi: fix some minor glitches in string routinesKeith Whitwell
Not sure why we are open-coding these rather than using standard library functions.
2010-03-01tgsi: Cleanup exec code for CLAMP, CMP and CND.Michal Krol
2010-02-25tgsi: Remove dead code.Michal Krol
2010-02-22tgsi: Report an error when a destination has an empty writemask.José Fonseca
2010-02-20tgsi: ifdef out unused function micro_sqrt.Vinson Lee
2010-02-19tgsi: Make more exec opcodes look pretty.Michal Krol
2010-02-19tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.Michal Krol
2010-02-19tgsi: Rewrite exec implementations of NRM and NRM4.Michal Krol
2010-02-09tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol
2010-02-09tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-09gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol
2010-02-09tgsi: Remove tgsi_dump_c.[ch].Michal Krol
Little utility after development stabilisation, use tgsi_dump instead.
2010-02-05tgsi: remove special-case code for fragment positionBrian Paul
Since the origin_lower_left / pixel_center_origin changes, we need to use the fragcoord info that's set up in setup_fragcoord_coeff(). The code in exec_declaration() was clobbering the the interpolated fragment position. Fixes progs/glsl/fragcoord.c demo.
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03tgsi: added debugging code to catch divide by zeroBrian Paul
2010-02-03tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul
And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
2010-02-02tgsi: added tgsi_alloc_tokens()Brian Paul
2010-02-02tgsi: fix commentBrian Paul
2010-02-02gallium: Make pipe_atomic a regular int32_t.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-02-02tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol
2010-01-29tgsi: add properties for fragment coord conventions (v3)Luca Barbieri
Changes in v3: - Documented the new properties - Added comments for property values - Rebased to current master Changes in v2: - Caps are added in a separate, subsequent patch This adds two TGSI fragment program properties that indicate the fragment coord conventions. The properties behave as described in the extension spec for GL_ARB_fragment_coord_conventions, but the default origin in upper left instead of lower left as in OpenGL. The syntax is: PROPERTY FS_COORD_ORIGIN [UPPER_LEFT|LOWER_LEFT] PROPERTY FS_COORD_PIXEL_CENTER [HALF_INTEGER|INTEGER] The names have been chosen for consistency with the GS properties and the OpenGL extension spec. The defaults are of course the previously assumed conventions: UPPER_LEFT and HALF_INTEGER.
2010-01-28tgsi: Constants declared with ureg_DECL_constant() are one-dimensional.Michal Krol
This is to maintain backward compatibility with drivers that don't support arrays of constant buffers.
2010-01-28tgsi: Add ureg_property_gs_output_prim/max_vertices().Michal Krol
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28tgsi: Handle two-dimensional constants in text parser.Michal Krol
2010-01-28gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol
2010-01-28tgsi: Handle 2-D declarations.Michal Krol
2010-01-28tgsi: Silence uninitialized variable warning.Vinson Lee
2010-01-27tgsi: Remove unnecessary header.Vinson Lee