summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tgsi/ureg: Add forgotten goto in ureg_DECL_constant().Michal Krol2009-11-261-0/+1
|
* llvmpipe: Fake missing SSSE3 when simulation less capabable machines.José Fonseca2009-11-261-0/+1
| | | | SSE3 != SSSE3 and so far we only use the later.
* llvmpipe: Update/correct CPU requirements.José Fonseca2009-11-261-3/+7
| | | | | | | | There are no hard requirements at the moment. We don't really emit any sse3 yet. Just some ssse3. Thanks to Roland for spotting these incorrections.
* Merge commit 'origin/st-shader-varients'Roland Scheidegger2009-11-2614-651/+327
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_shader.c src/mesa/state_tracker/st_program.c
| * mesa/st: refactor vertex and fragment shader translationKeith Whitwell2009-11-1512-469/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Translate vertex shaders independently of fragment shaders. Previously tried to make fragment shader semantic indexes always start at zero and exclude holes. This was unnecessary but meant that vertex shader translation had to be adjusted to take this into account. Now use a fixed scheme for labelling special FS input semantics (color, etc), and another fixed scheme for the generics. With this, vertex shaders can be translated independently of the bound fragment shader, assuming mesa has done its own job and ensured that the vertex shader provides at least the inputs the fragment shader is looking for. The state-tracker didn't attempt to do anything about this previously, so it shouldn't be needed now.
| * mesa/st: emit tgsi vertex shader directly for drawpixelsKeith Whitwell2009-11-151-77/+47
| | | | | | | | | | | | | | One of several cases where we build mesa shaders and then translate them to tgsi. Many of those cases it's because we're combining two mesa programs and there are helpers for that, but in this case at least can go straight to tgsi.
| * mesa/st: don't calculate unused output_flags data eitherKeith Whitwell2009-11-153-24/+4
| |
| * mesa/st: don't calculate unused input_flags dataKeith Whitwell2009-11-153-16/+2
| |
| * mesa/st: don't calculate unused vs input semantic tagsKeith Whitwell2009-11-151-69/+2
| |
* | scons: Make it work with MinGW build of LLVM 2.6.José Fonseca2009-11-251-25/+27
| | | | | | | | LLVM 2.5 is no longer supported on windows.
* | r600: add ARB_texture_non_power_of_two support.Dave Airlie2009-11-252-6/+22
| | | | | | | | | | | | | | | | | | | | | | This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <[email protected]>
* | r600 : reset stack flag with one channel only.Richard Li2009-11-241-1/+4
| |
* | r600 : fix stack depth setting bug.Richard Li2009-11-241-4/+4
| |
* | llvmpipe: Update instructions.José Fonseca2009-11-241-15/+17
| |
* | svga: Handle comment tokens when dumping.José Fonseca2009-11-242-1/+12
| |
* | svga: Use consistent names for public symbol names of shader dumping facilities.José Fonseca2009-11-245-12/+12
| |
* | svga: Use consistent file names for dumping facilities.José Fonseca2009-11-2410-11/+11
| |
* | util: Describe a few more formats.José Fonseca2009-11-241-0/+10
| |
* | llvmpipe: Use assert instead of abort. Only verify functions on debug builds.José Fonseca2009-11-242-2/+4
| |
* | llvmpipe: Fix memory leak.José Fonseca2009-11-241-0/+1
| |
* | llvmpipe: Use the generic conversion routine for depths.José Fonseca2009-11-241-7/+18
| | | | | | | | This allows for z32f depth format to work correctly.
* | llvmpipe: Be more conservative with the supported formats.José Fonseca2009-11-241-7/+51
| | | | | | | | | | We'll likely support much more formats, but doing this allows to run more testsuites without immediately hit assertion failures.
* | wgl: Fix copy'n'paste typo in comment.José Fonseca2009-11-241-1/+1
| |
* | llvmpipe: Fix typo in comparison operator.José Fonseca2009-11-241-1/+1
| |
* | tgsi: Document Declaration Semantic token and FACE semantic name.Michal Krol2009-11-241-0/+32
| |
* | slang: Fix allocation size.Michal Krol2009-11-241-2/+2
| | | | | | | | We don't need 16K+ to store a single pointer.
* | mesa: Fix pointer arithmetic.Michal Krol2009-11-241-1/+3
| |
* | tgsi: Implement predicated instructions in exec.Michal Krol2009-11-242-5/+48
| |
* | tgsi: Add ureg_DECL_loop().Michal Krol2009-11-242-0/+25
| |
* | tgsi: Account for gallium shader token representation changes.Michal Krol2009-11-245-132/+106
| |
* | gallium: Refactor the instruction predicate TGSI token.Michal Krol2009-11-241-10/+7
| | | | | | | | | | | | | | | | | | Rename it to tgsi_instruction_predicate -- it's no longer an extended token. Its presence is indicated by a new flag in tgsi_instruction that indicates whether an instruction is predicated. Also, change predicate index representation to match the other tokens that specify register indices.
* | r300: fix swtcl bo leak problem.Dave Airlie2009-11-241-3/+5
| | | | | | | | | | | | | | We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <[email protected]>
* | radeon/r200/r300/r600: make bo mapping be explicitDave Airlie2009-11-2410-23/+60
| | | | | | | | | | | | | | | | | | | | This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <[email protected]>
* | mesa: use gcc __builtin_popcount()Brian Paul2009-11-231-0/+4
| |
* | r300g: use util_bitcount()Brian Paul2009-11-231-17/+2
| |
* | egl: use util_bitcount()Brian Paul2009-11-231-14/+4
| |
* | gallium/util: added util_bitcount()Brian Paul2009-11-231-0/+20
| |
* | Merge commit 'origin/mesa_7_7_branch'Maciej Cencora2009-11-2344-103/+180
|\ \
| * | radeon: fix errors in miptree related functionMaciej Cencora2009-11-231-3/+8
| | | | | | | | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied)
| * | Merge branch 'mesa_7_7_branch' of ↵Maciej Cencora2009-11-2312-32/+29
| |\ \ | | | | | | | | | | | | http://anongit.freedesktop.org/git/mesa/mesa into mesa_7_7_branch
| | * | svga: Scrub Makefiles a bitJakob Bornecrantz2009-11-232-20/+2
| | | | | | | | | | | | | | | | | | | | | | | | Remove x86 specific hacks. Not that they will ever be used on none x86 arches, but they are built by default. And the way the flags where added was a hack.
| | * | mesa: Initialize variable in _mesa_get_texel_fetch_func.Vinson Lee2009-11-231-1/+1
| | | |
| | * | glx: Prevent potential null pointer deference in driCreateContext.Vinson Lee2009-11-231-1/+3
| | | |
| | * | glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee2009-11-231-0/+1
| | | |
| | * | glu/sgi: Fix memory leak in gluScaleImage3D.Vinson Lee2009-11-231-0/+2
| | | |
| | * | r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora2009-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
| | * | r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora2009-11-221-5/+5
| | | |
| | * | glu/sgi: Fix memory leak in gluScaleImage.Vinson Lee2009-11-221-0/+2
| | | |
| | * | glu: Fix memory leak in __gl_meshMakeEdge.Vinson Lee2009-11-221-1/+6
| | | |
| | * | svga: Prevent potential null pointer deference in vmw_surface.c.Vinson Lee2009-11-221-1/+1
| | | |