summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-01-08Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
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
2009-01-08wgl: Do not provide DllMain inside the state tracker.José Fonseca
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.
2009-01-08gdi: Fix warning.José Fonseca
2009-01-06wgl: Do not provide DllMain inside the state tracker.José Fonseca
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.
2009-01-06gdi: Fix warning.José Fonseca
2009-01-06gallium: added centroid/invarient fields to declarationsBrian Paul
(cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa)
2009-01-06tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul
(cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
2009-01-06gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REVBrian Paul
This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f
2009-01-06cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES queryJonathan Adamczewski
2009-01-05cell: fix code emit for RSQ/RCP when src arg == dst argBrian Paul
Fixes moire-like artifacts seen in fslight demo.
2009-01-06nv50: fill image unit index in TEX varientsBen Skeggs
2009-01-06nv50: fix crash in nv50_program_destroyBen Skeggs
2009-01-06nv50: working towards 3D texturesBen Skeggs
2009-01-06nv50: slightly better miptree allocationBen Skeggs
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.
2009-01-06nv50: add TXP to TEX case.. not correct, but anyway..Ben Skeggs
2009-01-06nv50: indentation for TEX is a little overenthusiasticBen Skeggs
2009-01-06nv50: ensure we actually get contiguous regs for TEX insn.Ben Skeggs
Still many more horrible things to fix here...
2009-01-05cell: SIMDize sorting in setup_sort_vertices()Jonathan Adamczewski
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.
2009-01-05cell: SIMDize some subtractionsJonathan Adamczewski
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.
2009-01-04cell: improvements to spu_tri.cJonathan Adamczewski
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.
2009-01-04cell: new spu_shuffle.h headerJonathan Adamczewski
Facilitates creation of shuffle patterns for use with spu_shuffle() and si_shufb() intrinsics. To be used by subsequent patches.
2009-01-04cell: initial codegen support for fragment shader loopsBrian Paul
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.
2009-01-04cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT queryBrian Paul
We don't really support this texwrap mode yet, but this enables GL 2.1
2009-01-04cell: clean-up, improve SPU code generationBrian Paul
Start on ARL and address-relative indexing too.
2009-01-03cell: fix typo (s/10/0)Brian
2009-01-02softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)Brian Paul
2008-12-31python: Pass a zero offset to util_draw_vertex_buffer.José Fonseca
2008-12-31util: List new file in SConscript.José Fonseca
2008-12-31Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
2008-12-31i915: Avoid ptr->int conversion.José Fonseca
2008-12-31draw: Avoid integer overflow converting pointers on 64bit archs.José Fonseca
Not really an error, as we only care for the lower 4 bits.
2008-12-30gallium: Initialize var before use.José Fonseca
2008-12-30draw: Do not specify types in bitfields.José Fonseca
As advised by gcc -pedantic.
2008-12-30gallium: Remove unused variables.José Fonseca
2008-12-30gallium: Don't redefine INLINE.José Fonseca
INLINE is commonly used in third-party headers.
2008-12-30rtasm: Remove spurious semi-colons after function bodies.José Fonseca
2008-12-30gdi: Remove accidental keypresses.José Fonseca
2008-12-24gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4Brian Paul
2008-12-23tgsi: fix incomplete rename of loop counter variableKeith Whitwell
2008-12-23draw: allow driver-override of draw_need_pipeline()Keith Whitwell
2008-12-23tgsi: Dump indirect register swizzle.Michal Krol
2008-12-22tgsi: Return 0.0 for negative constant register indices.Michal Krol
2008-12-22tgsi: Keep address register as a floating point.Michal Krol
2008-12-22softpipe: Don't fill surfaces's winsys fields.José Fonseca
This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces.
2008-12-22softpipe: Call surface_alloc_storage to get the pipebuffer for display targets.José Fonseca
Otherwise blitting from display target surfaces to front screen fails in several platforms.
2008-12-22Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
Conflicts: src/gallium/auxiliary/util/Makefile
2008-12-22gdi: Cleanup sconsfile.José Fonseca
2008-12-22softpipe: initialize refcount and winsysJerome Glisse
2008-12-22softpipe: convert to use texture instead of surfaceJerome Glisse
2008-12-22gallium: const correctness.José Fonseca