Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: interface cleanups, remove nblocksx/y from pipe_texture and more | Roland Scheidegger | 2009-11-30 | 23 | -205/+191 |
| | | | | | | | | This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer). | ||||
* | svga: fix for not using texture width/height/depth arrays | Roland Scheidegger | 2009-11-27 | 2 | -33/+32 |
| | |||||
* | r300g,llvmpipe: fix some more merge problems | Roland Scheidegger | 2009-11-27 | 2 | -3/+3 |
| | |||||
* | Merge branch 'width0' | Roland Scheidegger | 2009-11-27 | 72 | -594/+586 |
|\ | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c | ||||
| * | gallium: fix more statetrackers/drivers for not using texture ↵ | Roland Scheidegger | 2009-11-26 | 50 | -373/+360 |
| | | | | | | | | width/height/depth arrays | ||||
| * | gallium: don't use arrays for texture width,height,depth | Keith Whitwell | 2009-11-19 | 24 | -221/+226 |
| | | |||||
* | | tgsi/exec: Fix orientation of DDY. | Michal Krol | 2009-11-26 | 1 | -1/+1 |
| | | |||||
* | | tgsi/exec: Force return from a subroutine at ENDSUB. | Michal Krol | 2009-11-26 | 1 | -1/+27 |
| | | |||||
* | | draw: Fix max_index check. | Keith Whitwell | 2009-11-26 | 1 | -1/+2 |
| | | | | | | | | | | We want to fallback to draw splitting when vertex element indices might be too high for atomic draw path (currently limited to 4095). | ||||
* | | tgsi/ureg: Add forgotten goto in ureg_DECL_constant(). | Michal Krol | 2009-11-26 | 1 | -0/+1 |
| | | |||||
* | | llvmpipe: Fake missing SSSE3 when simulation less capabable machines. | José Fonseca | 2009-11-26 | 1 | -0/+1 |
| | | | | | | | | SSE3 != SSSE3 and so far we only use the later. | ||||
* | | 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 |
| | | | |