Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-28 | r600g: add lrp instruction support | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-28 | r600g: actualy fix the literal emission | Jerome Glisse | |
Previous patch added literal emission to wrong place, we want to emit literal before emitting a new alu group. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-28 | r600g: fix up segfault with variation between views and count. | Dave Airlie | |
For some reason gallium hands us something with lots of empty views, and we are expected to deal with it, just do what r300g does for this bit. | |||
2010-07-28 | r600g: use gallium util for float->ui conversion | Dave Airlie | |
2010-07-27 | r600g: texture support | Jerome Glisse | |
Add texture mapping support, redbook/texbind works if you comment out glClear and second checkboard. Need to fix : - texture overwritting - lod & mip/map handling - unormalized coordinate handling - texture view with first leve > 0 - and many other things Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-27 | llvmpipe: pass face+slice to llvmpipe_unswizzle_cbuf_tile() | Brian Paul | |
Cube map faces and 3D texture slices are treated the same in llvmpipe textures. Need to pass the sum of these fields to llvmpipe_unswizzle_cbuf_tile() as we do elsewhere. Fixes piglit fbo-3d test (fd.o bug 29135). | |||
2010-07-27 | r600g: Move declaration before code. | Vinson Lee | |
Fixes SCons build. | |||
2010-07-27 | r600g: always emit literal after emiting an alu instruction | Jerome Glisse | |
Make sure we always fill in the literal after alu instruction. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-27 | llvmpipe: Use lp_build_select_bitwise() where appropriate. | José Fonseca | |
Fixes fdo 29269. | |||
2010-07-26 | cell: comment-out unused fields, functions | Brian Paul | |
2010-07-26 | cell: make functions static | Brian Paul | |
2010-07-26 | cell: fix segfault when freeing samplers | Brian Paul | |
2010-07-26 | cell: comment-out unneeded padding field | Brian Paul | |
2010-07-26 | cell: added const qualifier | Brian Paul | |
2010-07-26 | r600g: implememt the LIT instruction | Stephan Schmid | |
2010-07-26 | nv50: add missing 2nd source for POW multiplication | Christoph Bumiller | |
2010-07-26 | nv50: permit usage of undefined TGSI TEMPs | Christoph Bumiller | |
2010-07-26 | nv50: fix constant_operand opt mul by 2 case | Christoph Bumiller | |
2010-07-26 | nv50: simple reload elimination and local CSE | Christoph Bumiller | |
2010-07-26 | r300g: fix macro substitution problem | Dave Airlie | |
isn't a problem yet, but have issues in hiz branch. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-07-25 | r300g: implement D24X8 texture sampling for r3xx-r4xx | Marek Olšák | |
Because the hw can't sample it, I reinterpret the format as G16R16 and sample the G component. This gives 16 bits of precision, which should be enough for depth texturing (surprisingly, the sampled values are exactly the same as in D16 textures). This also enables EXT_packed_depth_stencil on those old chipsets, finally. | |||
2010-07-25 | r300g: make sure a texture is large enough for the CBZB clear | Marek Olšák | |
The number of macrotiles in the Y direction must be even, otherwise memory corruption may happen (e.g. broken fonts). Basically, if we get a buffer in resource_from_handle, we can determine from the buffer size whether it's safe to use the CBZB clear or not. | |||
2010-07-25 | r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT | Marek Olšák | |
2010-07-25 | r300g: do not use TXPITCH_EN for power-of-two textures from the DDX | Marek Olšák | |
We were using TXPITCH_EN for textures from the DDX since ever, for nothing. | |||
2010-07-25 | r300g: cleanup texture creation code | Marek Olšák | |
This decouples initializing a texture layout/miptree description from an actual texture creation, it also partially unifies texture_create and texture_from_handle. r300_texture inherits r300_texture_desc, which inherits u_resource. The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level]. And other minor cleanups. | |||
2010-07-25 | r300g: reject resources from handles which are not large enough | Marek Olšák | |
The driver gets a buffer and its size in resource_from_handle. It computes the required minimum buffer size from given texture properties, and compares the two sizes. This is to early detect DDX bugs. | |||
2010-07-25 | r300g: cleanup texture debug logging | Marek Olšák | |
2010-07-25 | r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped textures | Marek Olšák | |
I don't remember why the alignment was there, but it seems to be no longer needed. I guess it was a dirty fix for some other bug. | |||
2010-07-24 | nvfx: Move declaration before code. | Vinson Lee | |
2010-07-24 | nv50: add/fix some license headers | Christoph Bumiller | |
2010-07-24 | nv50: change back accidentally swapped UNORM,SNORM vertex type | Christoph Bumiller | |
2010-07-24 | nv50: don't produce MOV immediate to output reg in store opt | Christoph Bumiller | |
2010-07-24 | nv50: introduce the big formats table | Christoph Bumiller | |
2010-07-24 | nouveau: update nouveau_class.h | Christoph Bumiller | |
Adds nvc0, new vertex formats, and dual source blending values. | |||
2010-07-23 | r600g: first pass at texture support | Jerome Glisse | |
This add texture support to the assembler, generated code is wrong (tested against working dump). Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | r600g: Fix SCons build. | Vinson Lee | |
2010-07-23 | r600g: fix dp2, dp3, dp4 tokens | Jerome Glisse | |
We need to make sure dp are all mirror accross the alu unit. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | r600g: add RSQ token support | Jerome Glisse | |
Could serve as an example on how to add more token support. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | r600g: drop compiler stuff and switch over dumb tgsi assembler | Jerome Glisse | |
Writing a compiler is time consuming and error prone in order to allow r600g to further progress in the meantime i wrote a simple tgsi assembler, it does stupid thing but i would rather keep the code simple than having people trying to optimize code it does. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | nv50: import new compiler | Christoph Bumiller | |
2010-07-23 | softpipe: Check for NULL pointer in sp_destroy_tile_cache(). | Michal Krol | |
2010-07-23 | softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache(). | Michal Krol | |
2010-07-23 | nv50: implement depth clamp | Christoph Bumiller | |
2010-07-22 | llvmpipe: Partially fix resource texture from_handle | Jakob Bornecrantz | |
2010-07-22 | llvmpipe: Don't align values already aligned | Jakob Bornecrantz | |
2010-07-22 | i915g: Set total_nblocksy in from_handle | Jakob Bornecrantz | |
2010-07-22 | i915g: Add some debug prints in texture code | Jakob Bornecrantz | |
2010-07-22 | i915g: Ifdef out debug code on non-debug builds | Jakob Bornecrantz | |
2010-07-21 | softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfaces | Brian Paul | |
And remove checks of surface depth bits. The state tracker should not turn on depth/stencil testing if the framebuffer doesn't have depth/stencil. | |||
2010-07-21 | softpipe: fix sp_tile_cache_flush_clear() regression | Brian Paul | |