summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-18tgsi: Fix behaviour of dimension index.Michal Krol
The dimension index always addresses the second-dimension axis.
2010-01-18tgsi: Allow TEMPORARY registers as indirect address into source operands.Michal Krol
2010-01-18tgsi: Add ureg_DECL_immediate_block_uint().Michal Krol
Allows declaring a contiguous block of immediates. Useful for relative indexing.
2010-01-18tgsi: Add missing semantic name in text parser.Chia-I Wu
This time, INSTANCEID is missing...
2010-01-15tgsi: Add ureg_property_gs_input_prim().Michal Krol
2010-01-15tgsi: Add ureg_src_dimension().Michal Krol
2010-01-15tgsi: Fix sanity checks for indirect registers.Michal Krol
2010-01-15tgsi: fix detection of front-facing attributeBrian Paul
This code was not updated when we added TGSI_SEMANTIC_FACE a while ago.
2010-01-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-14Merge branch 'instanced-arrays'Michal Krol
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c
2010-01-12gallium: Simplify PIPE_ALIGN_VAR.José Fonseca
gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
2010-01-12gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca
2010-01-08Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-08tgsi: Cleanup dot-product opcodes in interpreter.Michal Krol
2010-01-07tgsi: fix SSE code emit for XPDBrian Paul
Rearrange things so that the writes to the dest registers happen after we've fetched/used all src registers. The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2]; Note that the dst reg is also a src reg. This fixes bad shading with progs/glsl/bump.c since Eric's changes to the Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904. The optimizer rearranges some registers so we occasionally wind up with something like the above.
2010-01-07tgsi: add assertion to verify legal register fileBrian Paul
This assertion fails with piglit glsl-vs-mov-after-deref test because we're double freeing the memory. It seems there's some confusion between what's placed in the hash table and what isn't.
2010-01-07tgsi: fix incorrectly placed braces, add more braces to be clearBrian Paul
2010-01-07tgsi: move register checking code before check_register_usage()Brian Paul
check_register_usage() frees the scan_register *reg data so we were reading from freed memory. This fixes a valgrind error found with piglit's glsl-vs-mov-after-deref test.
2010-01-07gallium: Fix texture sampling with explicit LOD in softpipe.Michal Krol
2010-01-07gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵Michal Krol
sampler.
2010-01-07tgsi: Cleanup exec_tex().Michal Krol
2010-01-08tgsi: Silence uninitialized variable warnings.Vinson Lee
2010-01-05Merge branch 'master' into instanced-arraysMichal Krol
Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
2010-01-05tgsi: Simplify implementation of few interpreter's instructions.Michal Krol
2010-01-05tgsi: Use FREE() to release MALLOC-ed() memories in sanity.Michal Krol
2010-01-05tgsi: Fix bogus loop condition in sanity.Michal Krol
2010-01-05tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.Michal Krol
2010-01-05tgsi: Store ADDR file in interpreter as an int.Michal Krol
2010-01-05tgsi: Remove dead micro_umod().Michal Krol
2010-01-05tgsi: Make interpreter aware of float and integer data types.Michal Krol
Debug check for inf and nan only on float channels. Apply absolute and negate source operand modifiers based on opcode type.
2010-01-05gallium: Add UMOD TGSI opcode.Michal Krol
Either that or have UDIV have two destination operands.
2010-01-05gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI.Michal Krol
Provide reference implementation of them in tgsi_exec. Note that BREAK opcode is overloaded and can be used to break out of either a loop or a switch-case statement.
2010-01-05tgsi/ureg: Improve immediate match & expand logic.Michal Krol
Do not pollute immediates with unsuccessfull attempts to expand them.
2010-01-05tgsi: Support signed/unsigned integer immediate types.Michal Krol
2010-01-05tgsi: Cleanup interpreter code for other existing integer opcodes.Michal Krol
2010-01-05Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
2010-01-05tgsi: Implement new integer opcodes.Michal Krol
Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
2010-01-04tgsi: Fix assert.Vinson Lee
2010-01-04Fix testAlan Hourihane
2010-01-01tgsi: Add missing semantic name in text parser.Igor Oliveira
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-30tgsi: Support system values in ureg.Michal Krol
2009-12-29Implement draw_arrays_instanced() in softpipe.Michal Krol
Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
2009-12-27tgsi/ureg: Silence uninitialized variable warnings.Vinson Lee
2009-12-26tgsi: Don't dump parenthesis for negation.José Fonseca
It doesn't seem necessary, and more importantly, tgsi_parse doesn't know how to read them.
2009-12-25gallium: remove TGSI_SEMANTIC_VERTICESZack Rusin
it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size.
2009-12-25util: put vertices_per_primitive function in its proper locationZack Rusin