Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: Update/correct CPU requirements. | José Fonseca | 2009-11-26 | 1 | -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 Scheidegger | 2009-11-26 | 14 | -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 translation | Keith Whitwell | 2009-11-15 | 12 | -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 drawpixels | Keith Whitwell | 2009-11-15 | 1 | -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 either | Keith Whitwell | 2009-11-15 | 3 | -24/+4 |
| | | |||||
| * | mesa/st: don't calculate unused input_flags data | Keith Whitwell | 2009-11-15 | 3 | -16/+2 |
| | | |||||
| * | mesa/st: don't calculate unused vs input semantic tags | Keith Whitwell | 2009-11-15 | 1 | -69/+2 |
| | | |||||
* | | r600: add ARB_texture_non_power_of_two support. | Dave Airlie | 2009-11-25 | 2 | -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 Li | 2009-11-24 | 1 | -1/+4 |
| | | |||||
* | | r600 : fix stack depth setting bug. | Richard Li | 2009-11-24 | 1 | -4/+4 |
| | | |||||
* | | llvmpipe: Update instructions. | José Fonseca | 2009-11-24 | 1 | -15/+17 |
| | | |||||
* | | svga: Handle comment tokens when dumping. | José Fonseca | 2009-11-24 | 2 | -1/+12 |
| | | |||||
* | | svga: Use consistent names for public symbol names of shader dumping facilities. | José Fonseca | 2009-11-24 | 5 | -12/+12 |
| | | |||||
* | | svga: Use consistent file names for dumping facilities. | José Fonseca | 2009-11-24 | 10 | -11/+11 |
| | | |||||
* | | util: Describe a few more formats. | José Fonseca | 2009-11-24 | 1 | -0/+10 |
| | | |||||
* | | llvmpipe: Use assert instead of abort. Only verify functions on debug builds. | José Fonseca | 2009-11-24 | 2 | -2/+4 |
| | | |||||
* | | llvmpipe: Fix memory leak. | José Fonseca | 2009-11-24 | 1 | -0/+1 |
| | | |||||
* | | llvmpipe: Use the generic conversion routine for depths. | José Fonseca | 2009-11-24 | 1 | -7/+18 |
| | | | | | | | | This allows for z32f depth format to work correctly. | ||||
* | | llvmpipe: Be more conservative with the supported formats. | José Fonseca | 2009-11-24 | 1 | -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é Fonseca | 2009-11-24 | 1 | -1/+1 |
| | | |||||
* | | llvmpipe: Fix typo in comparison operator. | José Fonseca | 2009-11-24 | 1 | -1/+1 |
| | | |||||
* | | tgsi: Document Declaration Semantic token and FACE semantic name. | Michal Krol | 2009-11-24 | 1 | -0/+32 |
| | | |||||
* | | slang: Fix allocation size. | Michal Krol | 2009-11-24 | 1 | -2/+2 |
| | | | | | | | | We don't need 16K+ to store a single pointer. | ||||
* | | mesa: Fix pointer arithmetic. | Michal Krol | 2009-11-24 | 1 | -1/+3 |
| | | |||||
* | | tgsi: Implement predicated instructions in exec. | Michal Krol | 2009-11-24 | 2 | -5/+48 |
| | | |||||
* | | tgsi: Add ureg_DECL_loop(). | Michal Krol | 2009-11-24 | 2 | -0/+25 |
| | | |||||
* | | tgsi: Account for gallium shader token representation changes. | Michal Krol | 2009-11-24 | 5 | -132/+106 |
| | | |||||
* | | gallium: Refactor the instruction predicate TGSI token. | Michal Krol | 2009-11-24 | 1 | -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 Airlie | 2009-11-24 | 1 | -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 explicit | Dave Airlie | 2009-11-24 | 10 | -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 Paul | 2009-11-23 | 1 | -0/+4 |
| | | |||||
* | | r300g: use util_bitcount() | Brian Paul | 2009-11-23 | 1 | -17/+2 |
| | | |||||
* | | egl: use util_bitcount() | Brian Paul | 2009-11-23 | 1 | -14/+4 |
| | | |||||
* | | gallium/util: added util_bitcount() | Brian Paul | 2009-11-23 | 1 | -0/+20 |
| | | |||||
* | | Merge commit 'origin/mesa_7_7_branch' | Maciej Cencora | 2009-11-23 | 27 | -85/+135 |
|\ \ | |||||
| * | | radeon: fix errors in miptree related function | Maciej Cencora | 2009-11-23 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied) | ||||
| * | | svga: Scrub Makefiles a bit | Jakob Bornecrantz | 2009-11-23 | 2 | -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 Lee | 2009-11-23 | 1 | -1/+1 |
| | | | |||||
| * | | glx: Prevent potential null pointer deference in driCreateContext. | Vinson Lee | 2009-11-23 | 1 | -1/+3 |
| | | | |||||
| * | | glu/sgi: Fix memory leak in bitmapBuild2DMipmaps. | Vinson Lee | 2009-11-23 | 1 | -0/+1 |
| | | | |||||
| * | | glu/sgi: Fix memory leak in gluScaleImage3D. | Vinson Lee | 2009-11-23 | 1 | -0/+2 |
| | | | |||||
| * | | r300: fix VP source conflict resolution on 64-bit machines | Maciej Cencora | 2009-11-22 | 1 | -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 fp | Maciej Cencora | 2009-11-22 | 1 | -5/+5 |
| | | | |||||
| * | | glu/sgi: Fix memory leak in gluScaleImage. | Vinson Lee | 2009-11-22 | 1 | -0/+2 |
| | | | |||||
| * | | glu: Fix memory leak in __gl_meshMakeEdge. | Vinson Lee | 2009-11-22 | 1 | -1/+6 |
| | | | |||||
| * | | svga: Prevent potential null pointer deference in vmw_surface.c. | Vinson Lee | 2009-11-22 | 1 | -1/+1 |
| | | | |||||
| * | | svga: Fix memory leak in vmw_screen_ioctl.c | Vinson Lee | 2009-11-22 | 1 | -0/+1 |
| | | | |||||
| * | | st/xorg: Prevent potential null pointer deference in xorg_xv.c. | Vinson Lee | 2009-11-22 | 1 | -1/+1 |
| | | | |||||
| * | | st/xorg: Reorder cases in switch statement. | Vinson Lee | 2009-11-22 | 1 | -1/+3 |
| | | | | | | | | | | | | Silences missing break statement warning. | ||||
| * | | radeon: fix compressed mipmapped textures | Maciej Cencora | 2009-11-21 | 2 | -22/+29 |
| | | | | | | | | | | | | Tested on r300 only, other cards may require adjusting texture_compressed_row_align. |