summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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.
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-31intel: Share passthrough transform setup between glBitmap and glDrawPixels.Eric Anholt
The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
2008-12-31intel: Add support for glBitmap as metaops using GL calls.Eric Anholt
This lets us avoid software fallbacks when clients forget to turn some state off (engine demo) or just do crazy things to test conformance (OGLC). This should probably be brought into mesa generic code so other drivers can make use of it. Bug #19016.
2008-12-30Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: src/mesa/main/config.h
2008-12-30mesa: fix bug in evaluation of structure fieldsBrian Paul
Fixes incorrect size information. See bug 19273.
2008-12-30mesa: allow variable indexing into the predefined uniform variable arraysBrian Paul
This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work. When a built-in uniform array is indexed with a variable index we need to "unroll" the whole array into the parameter list (aka constant buffer) because we don't know which elements may be accessed at compile-time. In the case of the gl_LightSource array of size [8], we emit 64 state references into the parameter array (8 elements times 8 vec4s per gl_LightSourceParameters struct). Previously, we only allowed constant-indexed references to uniform arrays (such as gl_LightSource[2].position) which resulted in a single state reference being added to the parameter array, not 64. We still optimize this case. Users should be aware that using "gl_LightSource[i].ambient" in their shaders is a bit expensive since state validation will involve updating all 64 light source entries in the parameter list.
2008-12-30mesa: better error message when running out of GLSL samplersBrian Paul
2008-12-30mesa: comments for some state varsBrian Paul
2008-12-30mesa: increase max constants/uniforms to 256 (vec4 vectors)Brian Paul
2008-12-30gallium: Initialize var before use.José Fonseca
2008-12-30glut: List new source file in sconscript.José Fonseca
2008-12-30mesa: Do not specify types in bitfields.José Fonseca
As advised by gcc -pedantic.
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-30scons: Specify C99 throughout all the tree.José Fonseca
MSVC may not support full C99, but supports more than plain C90. And -pedantic without -std=c99 generates too many spurious warnings (specially C++ style comments) to be of any use. Note that using certain C99 features in the cross-platform parts of Gallium is still not possible; namely mid-of-scope variable declarations and named structure initializers will break MSVC builds.
2008-12-30rtasm: Remove spurious semi-colons after function bodies.José Fonseca