summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-06Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: src/mesa/drivers/dri/common/dri_util.c
2009-01-06cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES queryJonathan Adamczewski
2009-01-06mesa: remove dri_sarea.h, add glcore.h in MakefileBrian Paul
2009-01-06mesa: Fix the size per pixel for packed pixel format data type.Xiang, Haihao
2009-01-06mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug ↵Xiang, Haihao
#19390)
2009-01-06dri: correct the damage.Xiang, Haihao
Fixes bug #17234
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-05mesa: add GLushort cases for render to texture (Z-buffers)Brian Paul
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-05mesa: fix a GLSL swizzled writemask bugBrian Paul
This fixes cases such as: vec4 v4; vec2 v2; v4.xz.yx = v2; The last line now correctly compiles into MOV TEMP[1].xz, TEMP[0].yyxw; Helps to fix the Humus Domino demo. See bug 19189.
2009-01-05i965: implement OPCODE_TRUNC (round toward zero) on vertex path.Brian Paul
Also, fix some RNDD vs. RNDZ confusion elsewhere.
2009-01-05glu: Add mangled symbols to export listTom Fogal
This adds all of the `mglu' symbols to the list of symbol exports for GLU. Without this patch, mangled GLU symbols are considered `internal' symbols, and calling any results in undefined references.
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-05progs/glsl: Add ignoresJakob Bornecrantz
2009-01-05progs/glsl: Remove double target def for vert-or-frag-onlyJakob Bornecrantz
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-04gallium: fix MaxTextureCoordUnits initBrian Paul
Fixes Cell regression.
2009-01-03cell: fix typo (s/10/0)Brian
2009-01-03demos: remove redundant Makefile lines from prev mergeBrian
2009-01-02mesa: fix warning about possibly undefined var in GLSL compilerBrian Paul
2009-01-02softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16)Brian Paul
2009-01-02gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul
2009-01-02mesa: replace CC with APP_CC in progs/glsl/MakefileBrian Paul
2009-01-02Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c
2009-01-02gallium: fix texcoord loop for rasterpos attributesBrian Paul
2009-01-02gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul
2009-01-02mesa: remove redudant lines for libglapi.aBrian Paul
2009-01-02mesa: fix another "out of samplers" problemBrian Paul
Now only the samplers that are actually used by texture() functions are saved in the uniform variable list. Before, we could run out of samplers if too many were declared while only some of them were actually used.
2009-01-01i965: increase number of texture samplers to 16Brian Paul
This lets GLSL shaders use up to 16 samplers. Fixed function is still limited to 8 textures. Tested with progs/glsl/samplers.c
2009-01-01i965: comments, clean-ups, re-order some functionsBrian Paul
2009-01-01i965: added OPCODE_NRM3/4Brian Paul
2009-01-01i965: fix commentBrian Paul
2009-01-01i965: indentation and formatting fixesBrian Paul
2009-01-01i965: implement OPCODE_NRM3/NRM4Brian Paul
2009-01-01i965: whitespace, comment changesBrian Paul
2009-01-01mesa: comments, whitespace changesBrian Paul
2009-01-01demos: added progs/glsl/samplers.c to test all available texture samplersBrian Paul
2009-01-01mesa: updated comments about GLSL constantsBrian Paul
2008-12-31mesa: increase max texture image units and GLSL samplers to 16Brian Paul
The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.