Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom. | Younes Manton | 2009-01-10 | 2 | -3/+2 |
| | |||||
* | nouveau: Put dynamic textures in GART for CPU access and don't swizzle. | Younes Manton | 2009-01-10 | 3 | -6/+13 |
| | | | | Also flag shadows as dynamic since they're for CPU access as well. | ||||
* | nouveau: Swizzle textures larger than nv04 SIFM limit in parts. | Younes Manton | 2009-01-10 | 1 | -2/+1 |
| | | | | Limit of SIFM on nv40 is 1024x1024, not sure about others. | ||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 8 | -13/+13 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES query | Jonathan Adamczewski | 2009-01-06 | 1 | -1/+1 |
| | |||||
* | cell: fix code emit for RSQ/RCP when src arg == dst arg | Brian Paul | 2009-01-05 | 1 | -6/+8 |
| | | | | Fixes moire-like artifacts seen in fslight demo. | ||||
* | nv50: fill image unit index in TEX varients | Ben Skeggs | 2009-01-06 | 1 | -2/+8 |
| | |||||
* | nv50: fix crash in nv50_program_destroy | Ben Skeggs | 2009-01-06 | 1 | -2/+2 |
| | |||||
* | nv50: working towards 3D textures | Ben Skeggs | 2009-01-06 | 2 | -7/+40 |
| | |||||
* | nv50: slightly better miptree allocation | Ben Skeggs | 2009-01-06 | 1 | -5/+6 |
| | | | | | I swear this didn't work last time I tried it.. Anyhow, still only suitable for 2D miptrees - more coming once I know the layout. | ||||
* | nv50: add TXP to TEX case.. not correct, but anyway.. | Ben Skeggs | 2009-01-06 | 1 | -0/+1 |
| | |||||
* | nv50: indentation for TEX is a little overenthusiastic | Ben Skeggs | 2009-01-06 | 1 | -18/+23 |
| | |||||
* | nv50: ensure we actually get contiguous regs for TEX insn. | Ben Skeggs | 2009-01-06 | 1 | -17/+42 |
| | | | | Still many more horrible things to fix here... | ||||
* | cell: SIMDize sorting in setup_sort_vertices() | Jonathan Adamczewski | 2009-01-05 | 1 | -55/+42 |
| | | | | | | Put setup.v{min,mid,max,provoke} into a union with qword vertex_headers. Rewrite vertex sorting to more efficiently handle the packed data items. Reduces spu_tri.o by ~128 bytes. | ||||
* | cell: SIMDize some subtractions | Jonathan Adamczewski | 2009-01-05 | 1 | -8/+10 |
| | | | | | | | Put edge.{dx,dy} into a union with a vector and perform subtractions in setup_sort_vertices() on vectors. Reduces spu_tri.o by ~300 bytes. | ||||
* | cell: improvements to spu_tri.c | Jonathan Adamczewski | 2009-01-04 | 1 | -42/+52 |
| | | | | | | | Replace int setup.span{left,right}[2] with vec_uint4 setup.span.quad SIMDize calculate_mask() and inline into into flush_spans() Set setup.span.quad members using spu_shuffle() or spu_sel(). Reduces spu_tri.o by ~116 bytes. | ||||
* | cell: new spu_shuffle.h header | Jonathan Adamczewski | 2009-01-04 | 1 | -0/+186 |
| | | | | | | | Facilitates creation of shuffle patterns for use with spu_shuffle() and si_shufb() intrinsics. To be used by subsequent patches. | ||||
* | cell: initial codegen support for fragment shader loops | Brian Paul | 2009-01-04 | 1 | -26/+193 |
| | | | | | | Basic for/while loops work now. Only one level of loop nesting is supported at this time (same for if/else). The progs/glsl/mandelbrot demo works, but the colors are too dim. | ||||
* | cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query | Brian Paul | 2009-01-04 | 1 | -0/+4 |
| | | | | We don't really support this texwrap mode yet, but this enables GL 2.1 | ||||
* | cell: clean-up, improve SPU code generation | Brian Paul | 2009-01-04 | 1 | -622/+506 |
| | | | | Start on ARL and address-relative indexing too. | ||||
* | cell: fix typo (s/10/0) | Brian | 2009-01-03 | 1 | -2/+2 |
| | |||||
* | softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16) | Brian Paul | 2009-01-02 | 1 | -2/+2 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2008-12-31 | 1 | -17/+34 |
|\ | |||||
| * | softpipe: Don't fill surfaces's winsys fields. | José Fonseca | 2008-12-22 | 1 | -2/+0 |
| | | | | | | | | | | This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces. | ||||
| * | softpipe: Call surface_alloc_storage to get the pipebuffer for display targets. | José Fonseca | 2008-12-22 | 1 | -15/+34 |
| | | | | | | | | | | Otherwise blitting from display target surfaces to front screen fails in several platforms. | ||||
| * | softpipe: initialize refcount and winsys | Jerome Glisse | 2008-12-22 | 1 | -0/+2 |
| | | |||||
| * | softpipe: convert to use texture instead of surface | Jerome Glisse | 2008-12-22 | 1 | -35/+30 |
| | | |||||
* | | i915: Avoid ptr->int conversion. | José Fonseca | 2008-12-31 | 1 | -3/+1 |
| | | |||||
* | | gallium: Remove unused variables. | José Fonseca | 2008-12-30 | 1 | -1/+0 |
| | | |||||
* | | softpipe: initialize refcount and winsys | Jerome Glisse | 2008-12-18 | 1 | -0/+2 |
| | | |||||
* | | softpipe: convert to use texture instead of surface | Jerome Glisse | 2008-12-18 | 1 | -35/+30 |
| | | |||||
* | | softpipe: fix vertex shader texture sampling | Brian Paul | 2008-12-17 | 5 | -43/+98 |
| | | | | | | | | | | Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices. | ||||
* | | nv40: apply ABS modifier to RSQ source in vp | Ben Skeggs | 2008-12-16 | 1 | -1/+1 |
| | | | | | | | | Gallium used to do this for us :) | ||||
* | | nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS | Ben Skeggs | 2008-12-16 | 6 | -0/+12 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | 2008-12-15 | 1 | -0/+2 |
|\| | | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript | ||||
| * | softpipe: Add missing header include. | Michal Krol | 2008-12-11 | 1 | -0/+2 |
| | | |||||
* | | Nouveau: move the definition of log2i() to header | Pekka Paalanen | 2008-12-13 | 7 | -156/+33 |
| | | | | | | | | | | | | | | Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | | nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to ↵ | Patrice Mandin | 2008-12-12 | 6 | -42/+167 |
| | | | | | | | | swizzle textures | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-12-10 | 1 | -0/+20 |
|\| | |||||
| * | gallium: added draw_set_mrd() function to fix polygon offset | Brian Paul | 2008-12-10 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | The Minimum Resolvable Depth factor depends on the driver and can't just be computed from the number of Z buffer bits. Glean's polygon offset test now passes with softpipe. Still need to determine the MRD factor for other gallium drivers, if they use the draw module's polygon offset stage... | ||||
* | | nouveau: make nv20 use NV{20,25}TCL objects | Pekka Paalanen | 2008-12-07 | 6 | -252/+367 |
| | | | | | | | | | | | | | | Up till now, nv20 driver has been using NV10TCL, and being really an nv10 driver. That has changed. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | | i915: Silence warnings | Jakob Bornecrantz | 2008-12-05 | 1 | -0/+2 |
| | | |||||
* | | softpipe: plug in softpipe's texture samplers into draw module. | Brian | 2008-12-04 | 2 | -0/+18 |
| | | |||||
* | | gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query | Brian | 2008-12-04 | 1 | -0/+2 |
| | | |||||
* | | nouveau: Calc pitch for swizzled textures appropriately. | Younes Manton | 2008-12-02 | 1 | -4/+3 |
| | | |||||
* | | nouveau: Use swizzled textures & render targets on nv40 when possible. | Younes Manton | 2008-12-02 | 5 | -10/+130 |
| | | |||||
* | | nouveau: nv04-nv40 linear <-> swizzled conversion. | Younes Manton | 2008-12-02 | 1 | -0/+2 |
| | | |||||
* | | softpipe: minor tweaks, clean-ups | Brian | 2008-12-01 | 1 | -13/+4 |
| | | |||||
* | | softpipe: compute nearest/linear texcoords four at a time. | Brian | 2008-12-01 | 1 | -335/+413 |
| | | | | | | | | A small step toward SIMD-izing the code. | ||||
* | | gallium: minor texture-related clean-ups, comments, etc | Brian | 2008-12-01 | 2 | -17/+17 |
| | |