summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* nv50: any cpu access to a texture is done on its backing imagesBen Skeggs2009-01-123-7/+72
| | | | | | Still a little dodgy: - RTT will hit an assertion (hopefully!) and fail - 3D textures with depth >= 32 will cause bad things to happen
* nv50: create buffers for each image that makes up a textureBen Skeggs2009-01-122-13/+38
|
* cell: optimize unpack_colors() function, saving 12 cyclesBrian Paul2009-01-111-31/+34
|
* cell: move color unpacking code into separate functionBrian Paul2009-01-111-76/+89
|
* cell: re-order the z/stencil fetch/extract/convert instructions for better perfBrian Paul2009-01-111-55/+51
| | | | The new instruction order is 10 cycles faster.
* cell: simplify the 'optional register' codeBrian Paul2009-01-111-62/+50
|
* cell: asst datatype clean-upsBrian Paul2009-01-111-73/+75
|
* cell: move depth/stencil code into separate functionBrian Paul2009-01-111-179/+213
|
* cell: clean-up, re-indent, commentsBrian Paul2009-01-111-95/+139
|
* cell: use tgsi_dump_instruction() instead of spe_comment()Brian Paul2009-01-101-101/+25
|
* cell: added rule to produce .s assembly filesBrian Paul2009-01-101-0/+3
|
* nouveau: Update nv30 swizzling.Younes Manton2009-01-102-9/+10
|
* nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton2009-01-102-3/+2
|
* nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton2009-01-103-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 Manton2009-01-101-2/+1
| | | | Limit of SIFM on nv40 is 1024x1024, not sure about others.
* gallium: Replace uint64 by standard uint64_t.José Fonseca2009-01-088-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 queryJonathan Adamczewski2009-01-061-1/+1
|
* cell: fix code emit for RSQ/RCP when src arg == dst argBrian Paul2009-01-051-6/+8
| | | | Fixes moire-like artifacts seen in fslight demo.
* nv50: fill image unit index in TEX varientsBen Skeggs2009-01-061-2/+8
|
* nv50: fix crash in nv50_program_destroyBen Skeggs2009-01-061-2/+2
|
* nv50: working towards 3D texturesBen Skeggs2009-01-062-7/+40
|
* nv50: slightly better miptree allocationBen Skeggs2009-01-061-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 Skeggs2009-01-061-0/+1
|
* nv50: indentation for TEX is a little overenthusiasticBen Skeggs2009-01-061-18/+23
|
* nv50: ensure we actually get contiguous regs for TEX insn.Ben Skeggs2009-01-061-17/+42
| | | | Still many more horrible things to fix here...
* cell: SIMDize sorting in setup_sort_vertices()Jonathan Adamczewski2009-01-051-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 subtractionsJonathan Adamczewski2009-01-051-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.cJonathan Adamczewski2009-01-041-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 headerJonathan Adamczewski2009-01-041-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 loopsBrian Paul2009-01-041-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 queryBrian Paul2009-01-041-0/+4
| | | | We don't really support this texwrap mode yet, but this enables GL 2.1
* cell: clean-up, improve SPU code generationBrian Paul2009-01-041-622/+506
| | | | Start on ARL and address-relative indexing too.
* cell: fix typo (s/10/0)Brian2009-01-031-2/+2
|
* softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)Brian Paul2009-01-021-2/+2
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2008-12-311-17/+34
|\
| * softpipe: Don't fill surfaces's winsys fields.José Fonseca2008-12-221-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é Fonseca2008-12-221-15/+34
| | | | | | | | | | Otherwise blitting from display target surfaces to front screen fails in several platforms.
| * softpipe: initialize refcount and winsysJerome Glisse2008-12-221-0/+2
| |
| * softpipe: convert to use texture instead of surfaceJerome Glisse2008-12-221-35/+30
| |
* | i915: Avoid ptr->int conversion.José Fonseca2008-12-311-3/+1
| |
* | gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
| |
* | softpipe: initialize refcount and winsysJerome Glisse2008-12-181-0/+2
| |
* | softpipe: convert to use texture instead of surfaceJerome Glisse2008-12-181-35/+30
| |
* | softpipe: fix vertex shader texture samplingBrian Paul2008-12-175-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 vpBen Skeggs2008-12-161-1/+1
| | | | | | | | Gallium used to do this for us :)
* | nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITSBen Skeggs2008-12-166-0/+12
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-151-0/+2
|\| | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| * softpipe: Add missing header include.Michal Krol2008-12-111-0/+2
| |
* | Nouveau: move the definition of log2i() to headerPekka Paalanen2008-12-137-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 Mandin2008-12-126-42/+167
| | | | | | | | swizzle textures