summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton2009-01-104-5/+4
|
* g3dvl: Expand YCbCr to full RGB range by default.Younes Manton2009-01-101-1/+1
|
* g3dvl: Flag textures holding incoming data as dynamic.Younes Manton2009-01-101-1/+1
|
* nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton2009-01-105-8/+17
| | | | Also flag shadows as dynamic since they're for CPU access as well.
* gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.Younes Manton2009-01-101-0/+1
| | | | | Knowing how the client intends to use the texture will give the driver the opportunity to optimize for such cases.
* nouveau: Swizzle textures larger than nv04 SIFM limit in parts.Younes Manton2009-01-102-24/+69
| | | | Limit of SIFM on nv40 is 1024x1024, not sure about others.
* draw: Add missing include.José Fonseca2009-01-091-0/+2
|
* gdi: Add newline at end of file.José Fonseca2009-01-081-1/+1
|
* gallium: Replace uint64 by standard uint64_t.José Fonseca2009-01-0810-15/+14
| | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
* draw: Predeclare struct.José Fonseca2009-01-081-1/+2
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2009-01-084-8/+35
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/drivers/cell/spu/spu_command.h src/gallium/include/pipe/p_shader_tokens.h src/mesa/main/config.h src/mesa/main/mtypes.h src/mesa/shader/prog_execute.c src/mesa/shader/slang/slang_emit.c src/mesa/state_tracker/st_program.c src/mesa/state_tracker/wgl/stw_wgl.h src/mesa/state_tracker/wgl/stw_wgl_pixelformat.h
| * wgl: Do not provide DllMain inside the state tracker.José Fonseca2009-01-061-1/+16
| | | | | | | | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
| * gdi: Fix warning.José Fonseca2009-01-061-1/+1
| |
| * gallium: added centroid/invarient fields to declarationsBrian Paul2009-01-062-0/+8
| | | | | | | | (cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa)
| * tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul2009-01-063-1/+13
| | | | | | | | (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
| * gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REVBrian Paul2009-01-061-1/+1
| | | | | | | | This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f
| * gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4Brian Paul2008-12-241-3/+19
| |
| * tgsi: fix incomplete rename of loop counter variableKeith Whitwell2008-12-231-1/+1
| |
| * draw: allow driver-override of draw_need_pipeline()Keith Whitwell2008-12-232-4/+28
| |
| * tgsi: Dump indirect register swizzle.Michal Krol2008-12-231-3/+6
| |
| * tgsi: Return 0.0 for negative constant register indices.Michal Krol2008-12-221-8/+16
| |
| * tgsi: Keep address register as a floating point.Michal Krol2008-12-221-20/+9
| |
* | wgl: Do not provide DllMain inside the state tracker.José Fonseca2009-01-081-1/+16
| | | | | | | | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
* | gdi: Fix warning.José Fonseca2009-01-081-1/+1
| |
* | 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
| |
* | python: Pass a zero offset to util_draw_vertex_buffer.José Fonseca2008-12-311-1/+1
| |
* | util: List new file in SConscript.José Fonseca2008-12-311-0/+1
| |
* | 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.
* | i915: Avoid ptr->int conversion.José Fonseca2008-12-311-3/+1
| |
* | draw: Avoid integer overflow converting pointers on 64bit archs.José Fonseca2008-12-311-1/+1
| | | | | | | | Not really an error, as we only care for the lower 4 bits.
* | gallium: Initialize var before use.José Fonseca2008-12-301-1/+1
| |