summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-26gallium: Add missing copyright headers.José Fonseca
2008-02-26gallium: Fix build on Windows.Michal Krol
2008-02-26implement cache limits for csoZack Rusin
by default set to 4096, which might be on the large side
2008-02-26add an explicit callback decleration and use it to silence warningsZack Rusin
2008-02-26hide cso cache definition and add some initial code for size limitingZack Rusin
the caches
2008-02-26implement deleting of driver side cached state in cso'sZack Rusin
2008-02-25gallium: rewrite AA point fragment shader to use a CMP instruction instead ↵Brian
of IF/ELSE/ENDIF Allows the shader to work on i915 hardware.
2008-02-25gallium/i915: plug in aapoint draw stageBrian
2008-02-25gallium/i915: Fix emit_hw_vertex(): need to use vinfo->src_index[]Brian
2008-02-25gallium/i915: remove debug codeBrian
2008-02-25gallium/i915: fix i915_emit_texld() to handle swizzled texcoordsBrian
Allocate a temporary register, insert MOV instruction, etc.
2008-02-25cell: Additional changes to match changes in draw/draw_vertex_shader.cIan Romanick
2008-02-25cell: Fix off-by-one error in spu_dcache_fetch_unalignedIan Romanick
This time the off-by-one error caused an extra qword to be fetched under certain circumstances when the source ea was not qword aligned.
2008-02-25cell: Trivial compiler warning clean-ups.Ian Romanick
2008-02-25Cell: Remove unnecessary include filesIan Romanick
2008-02-25Cell: Use multiple DMA tags for the dcache.Ian Romanick
2008-02-25gallium/i915: compute vertex size _after_ state validation in emit_prim().Brian
Fixes crash when drawing aa lines.
2008-02-25gallium: clamp line width when creating raster state objectBrian
2008-02-25gallium/i915: plug in aaline draw stageBrian
2008-02-25gallium/i915: make sure state is up to date in ↵Brian
i915_vbuf_render_get_vertex_info(), also disable bogus assertion
2008-02-25gallium/i915: need to recompute vertex info if vertex shader changesBrian
2008-02-25gallium/i915: call draw_flush() in i915_flush()Brian
2008-02-25gallium: fix bad ptr assignmentBrian
2008-02-25gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords.Brian
We now produce the correct 915 vertex layout regardless of the order in which fragment shader inputs are declared.
2008-02-25softpipe: use draw_find_vs_output() directlyBrian
2008-02-25gallium: modify draw_find_vs_output() to search vertex shader outputsBrian
This simplifies drivers using the draw module and removes the last dependency on vertex-shader "internals". Since the draw module is producing the post-transformed vertices, it makes sense to ask it where specific vertex attributes are located. This could also simplify some things in the state tracker code for selection, feedback, rasterpos...
2008-02-25gallium/i915: Use hardware rendering, unless INTEL_SP env var is setBrian
2008-02-25gallium/i915: added SGT/SLE opcodesBrian
2008-02-25Make the pipe headers C++ friendly.José Fonseca
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-02-25Replace standand library functions by portable ones.José Fonseca
2008-02-25Add Zack's comments about CSOs.José Fonseca
2008-02-24Add new files.José Fonseca
2008-02-24gallium: Fix MSVC warnings.José Fonseca
2008-02-23gallium: disable early Z test if fragment shader contains KIL instruction.Brian
Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z
2008-02-23gallium: added TGSI_FILE_COUNTBrian
2008-02-23gallium: added new tgsi_scan.c / tgsi_scan_shader() functionBrian
Used to get information about registers, instructions used in a shader.
2008-02-24gallium: MSVC fixes.José Fonseca
2008-02-23Revamp scons usage.José Fonseca
2008-02-23Bring in several forgotten MSVC fixes.José Fonseca
2008-02-23Fix typo.José Fonseca
2008-02-22gallium: fix a state validation bug found w/ pointblast.cBrian
2008-02-22gallium: fix bug in which wide point stage overrode the aapoint stageBrian
Also, simplify the logic a bit.
2008-02-22gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵Brian
allocation Before, fragment shaders were translated to i915 hw code at bind time, rather than create time. Now there's an i915_fragment_shader struct with the expected contents that's created by i915_create_fs_state(). Translation to i915 code takes place there too. Immediates are handled correctly now. During program translation we keep track of which constant buffer slots are free (i.e. not referenced by the shader). Then the TGSI immediates and ancillary immediates (introduced for SIN/COS/etc) are put into those free slots. When it's time to upload the constant buffer, use the fp->constant_flags[] array to determine if we should grab an immediate from the shader, or a user-defined parameter from the gallium constant buffer.
2008-02-22i915: include stdio.hBrian
2008-02-22i915: include p_debug.h (resolves undefined assert())Brian
2008-02-22gallium: fix brokenb buildBrian
2008-02-22cell: added function prototypes to silence warningsBrian
2008-02-22cell: fix build: s/dest/vertex/Brian
2008-02-23gallium: Countour MSVC's pickyness for structures returned by value.José Fonseca