Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50: fix shader emit_tex for cube textures | Christoph Bumiller | 2009-11-04 | 1 | -14/+36 |
| | |||||
* | nv50: add abs-modifier for emit_minmax | Christoph Bumiller | 2009-11-04 | 1 | -17/+31 |
| | |||||
* | nv50: add 3d texture tiling and mip-mapping | Christoph Bumiller | 2009-11-04 | 4 | -37/+114 |
| | | | | | | | | | Mip-mapped 3D textures are not arrays of 2D layers with a mip-map layout like 2D textures, therefore we cannot use image_nr == depth for them. Making use of "volume tiling" modes now, the allowed modes are 0xZY where Z <= 5 and y <= 5. | ||||
* | llvmpipe: Sanitise shader semantic and interpolator handling. | Michal Krol | 2009-11-03 | 1 | -24/+10 |
| | | | | | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. Based on Michal's softpipe commit eb699d64ec7057032139baccedcb0694ca41d706. | ||||
* | llvmpipe: remove old prim_setup draw stage | Keith Whitwell | 2009-11-03 | 10 | -386/+59 |
| | | | | | | | Everything now goes through the draw_vbuf handler, the same as regular drivers. Based on Keith's commit 4fe0fc3eba1f79beda890a5016359d549bab6ad4. | ||||
* | llvmpipe: Respect gl_rasterization_rules in primitive setup. | José Fonseca | 2009-11-03 | 1 | -18/+30 |
| | | | | | Based on Michal's identical commit for softpipe (ca9c413647bf9efb5ed770e3a655bc758075aec7). | ||||
* | softpipe: Sanitise shader semantic and interpolator handling. | Michal Krol | 2009-11-02 | 1 | -24/+10 |
| | | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. | ||||
* | nouveau: Assume all texture blankets are linear for now. | Younes Manton | 2009-11-01 | 2 | -0/+6 |
| | |||||
* | r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc. | Corbin Simpson | 2009-11-01 | 5 | -14/+28 |
| | | | | Cleared out my git stash. | ||||
* | r300g: fix geometry corruptions | Maciej Cencora | 2009-11-01 | 1 | -2/+14 |
| | | | | PVS flush is needed before changing the vertex shader or vertex shader constants. | ||||
* | r300g: split constant buffer and shader emittion | Maciej Cencora | 2009-11-01 | 5 | -98/+152 |
| | |||||
* | r300g: Adopt osiris' PSC data and swizzle. | Corbin Simpson | 2009-11-01 | 1 | -40/+88 |
| | | | | A fair amount more flexible and easier to maintain. | ||||
* | nv50: handle TGSI_SEMANTIC_FACE | Christoph Bumiller | 2009-11-01 | 1 | -0/+25 |
| | |||||
* | nv50: make IF condition safe | Christoph Bumiller | 2009-11-01 | 1 | -1/+3 |
| | | | | | Don't assume that a SET that writes to IF's argument directly precedes the IF. | ||||
* | nv50: implement TGSI_OPCODE_AND/OR/XOR | Christoph Bumiller | 2009-11-01 | 1 | -0/+47 |
| | | | | | Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff. | ||||
* | nv50: fix textures with block size != cpp | Christoph Bumiller | 2009-10-31 | 2 | -37/+48 |
| | | | | | | | | | | | First, using width * block size as pitch is evidently wrong if a block contains more than 1 texel. For tiled textures, since a block occupies a contiguous area of memory, y addressing in m2mf has to be done by block index, not the y coordinate itself. This should fix compressed textures. | ||||
* | nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40. | Younes Manton | 2009-10-31 | 7 | -0/+15 |
| | |||||
* | nv50: use SIFC also for shader upload | Christoph Bumiller | 2009-10-31 | 3 | -56/+120 |
| | | | | Adds a more generic SIFC transfer function. | ||||
* | nv50: make MRTs work | Christoph Bumiller | 2009-10-31 | 2 | -0/+15 |
| | | | | | | | We have to indicate to the hw whether the FP exports multiple colour results. Method 0x121c is used to specify the number of RTs. Also deactivate zeta explicitly if there's no zsbuf. | ||||
* | r300g: correct the pitch calculation for smaller mipmaps | Marek Olšák | 2009-10-31 | 2 | -7/+2 |
| | |||||
* | r300g: pretend NPOT support | Marek Olšák | 2009-10-31 | 1 | -1/+3 |
| | | | | | It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this. | ||||
* | r300g: fix reading from the destination buffer in blending | Marek Olšák | 2009-10-31 | 1 | -0/+2 |
| | |||||
* | r300g: add precalculating of pixel pitch, add a new NPOT flag | Marek Olšák | 2009-10-31 | 3 | -17/+42 |
| | |||||
* | r300g: remove unnecessary assertions | Marek Olšák | 2009-10-31 | 2 | -5/+2 |
| | | | | Also, correct typos in comments. | ||||
* | r300g: fix crash in r300_is_texture_referenced | Marek Olšák | 2009-10-31 | 2 | -2/+2 |
| | | | | Also, a subtle fix in emitting a texture state | ||||
* | softpipe: Respect gl_rasterization_rules in primitive setup. | Michal Krol | 2009-10-30 | 1 | -14/+26 |
| | |||||
* | r300g: Use u_trim_pipe_prim to prevent lockups from incorrect vert counts. | Corbin Simpson | 2009-10-28 | 1 | -0/+9 |
| | | | | Adapted from osiris' version on his tree. | ||||
* | r300g: Keep texture formats organized. | Corbin Simpson | 2009-10-28 | 1 | -6/+5 |
| | |||||
* | r300g: add some texture formats | Maciej Cencora | 2009-10-28 | 2 | -0/+9 |
| | |||||
* | r300g: Clear up a bit of the buffer reference stuff. | Corbin Simpson | 2009-10-28 | 1 | -14/+11 |
| | | | | | Still need to actually get reference info from winsys somehow. Doing added buffers is easy, but knowing whether a flush has happened is a bit tricky. | ||||
* | r300g: Fix XXX. | Corbin Simpson | 2009-10-28 | 1 | -1/+0 |
| | | | | Nothing strange here. | ||||
* | r300g: fix emitting the stencil-ref and alpha-ref values | Marek Olšák | 2009-10-28 | 3 | -11/+31 |
| | | | | | | Signed-off-by: Corbin Simpson <[email protected]> DSA really needs its head examined someday. ~ C. | ||||
* | r300g: fix the WRAP_T mode when using 1D textures | Marek Olšák | 2009-10-28 | 1 | -1/+8 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | r300g: fix blending and do some optimizations | Marek Olšák | 2009-10-28 | 2 | -48/+54 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | llvmpipe: Make sure the JIT engine and X86 target are linked on MSVC build. | José Fonseca | 2009-10-28 | 6 | -4/+118 |
| | | | | | Basically mimic the llvm 2.6 way of linking execution engines and targets. | ||||
* | llvmpipe: Implement round() for MSVC. | José Fonseca | 2009-10-28 | 1 | -0/+12 |
| | |||||
* | nv50: activate more lanes in a warp | Christoph Bumiller | 2009-10-28 | 1 | -0/+4 |
| | | | | | | | | Some cards have crippling defaults set and use only 4 of 32 lanes. This should activate 16 on these. Those that allow 32 by default should still do so. Found out by Marcin Kościelnicki. | ||||
* | r300g: read occlusion query results from both Z pipes on RV530 | Marek Olšák | 2009-10-26 | 1 | -2/+8 |
| | |||||
* | r300g: add cubemap support | Marek Olšák | 2009-10-26 | 2 | -24/+37 |
| | | | | Also, set a pitch for rectangles only. | ||||
* | llvmpipe: Human friendlier sampler state dump. | José Fonseca | 2009-10-25 | 2 | -9/+22 |
| | |||||
* | llvmpipe: Dump the sampler state of the shader key. | José Fonseca | 2009-10-25 | 1 | -0/+18 |
| | |||||
* | llvmpipe: Immediate multiplication. | José Fonseca | 2009-10-25 | 4 | -32/+64 |
| | |||||
* | llvmpipe: Fast path for sampling rgba8 textures with linear filtering. | José Fonseca | 2009-10-25 | 1 | -12/+256 |
| | | | | | | | | Implement Keith's suggestion of doing most of the sampling with 16x8 and 8x16 AoS, and only doing the conversion to floating point SoA at the very last step. Improves gloss performance by 10%. | ||||
* | llvmpipe: Make lerping work for 8.8 fixed point values. | José Fonseca | 2009-10-25 | 1 | -4/+50 |
| | |||||
* | llvmpipe: New module to help make assertions about formats. | José Fonseca | 2009-10-25 | 4 | -0/+78 |
| | |||||
* | llvmpipe: New function to unpack rgba8 formats into 4 x u8n AoS. | José Fonseca | 2009-10-25 | 2 | -12/+148 |
| | |||||
* | llvmpipe: Split the format swizzling step from the unpacking. | José Fonseca | 2009-10-25 | 2 | -16/+34 |
| | |||||
* | llvmpipe: Allow different signs when unpacking. | José Fonseca | 2009-10-25 | 1 | -2/+1 |
| | |||||
* | llvmpipe: Add inlines to quickly generate types matching the native SIMD ↵ | José Fonseca | 2009-10-25 | 2 | -12/+102 |
| | | | | register bitwidth. | ||||
* | llvmpipe: Merge lp_build_load_rgba_soa into lp_build_sample_texel. | José Fonseca | 2009-10-25 | 1 | -32/+16 |
| |