summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-03gallium: fix surface memleak in bitmap codeBrian Paul
Found w/ tunnel2.c demo.
2008-07-03pipebuffer: Silent warnings.José Fonseca
Although rarely hit in normal apps, they are too noisy with test suites.
2008-07-03Support conversion of YUV surfaces.José Fonseca
2008-07-03gallium: Don't forget to get overllaping blits working again.José Fonseca
2008-07-03i915: EGL almost works againJakob Bornecrantz
2008-07-03egl: Fix demodriverJakob Bornecrantz
2008-07-03gallium: Use surface_copy for 1:1 blits.José Fonseca
2008-07-03scons: Add a env.CodeGenerate method to simplify code generation via python ↵José Fonseca
scripts. env.CodeGenerate( target = 'my_source.c', script = 'my_generator.py', source = ['input.txt', 'another.txt'], command = 'python $SCRIPT $SOURCE > $TARGET' ) It will take care generating all appropriate dependencies, including any module imported by the generator script, and the respective .pyc file side effects.
2008-07-02mesa: fix vertex array validation test for attribute 0 (vert pos)Brian Paul
We don't actually need vertex array[0] enabled when using a vertex program/shader. cherry-picked from master
2008-07-02gallium: replace an assertion with "if (!texobj) continue"Brian Paul
It's possible to call update_samplers() between the time a fragment shader is bound and when a texture image is defined (such as glClear). This fixes the case where we don't have a complete texture object yet.
2008-07-02gallium: fix a bug in vertex program output mappingBrian Paul
Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots after all other attributes have been handled. This fixes a bug where generic vertex program outputs (varying vars) could get mapped to the same slot at point size or back-face colors.
2008-07-02gallium: nr_attrs was off by one, updated comments, minor code movementBrian Paul
2008-07-02mesa: additional GLSL built-in constantsBrian Paul
2008-07-02mesa: when linking a shader program, make sure all the shaders compiled OKBrian Paul
cherry-picked from master
2008-07-02mesa: added some debug code (disabled)Brian Paul
cherry-picked from master
2008-07-02mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()Brian Paul
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master
2008-07-02mesa: regenerated fileBrian Paul
2008-07-02mesa: added some missing equal() notEqual() intrinsicsBrian Paul
cherry-picked from master
2008-07-02mesa: disable some debug assertionsBrian Paul
We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday.
2008-07-02mesa: regenerated filesBrian Paul
2008-07-02mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctorsBrian Paul
cherry-picked from master
2008-07-02gallium: replace 128 with MAX_LABELSBrian Paul
2008-07-02mesa: added _mesa_print_swizzle() debugging helperBrian Paul
2008-07-02mesa: fix issues around multisample enableRoland Scheidegger
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
2008-07-02gallium: Allow draw module to work on non-x86 platforms again.Michel Dänzer
2008-07-02pipebuffer: Debug buffer manager to detect buffer under- and overflows.José Fonseca
It should detect both cpu and gpu buffer overflows.
2008-07-02pipebuffer: Verify usage flag consistency. Minor cleanups.José Fonseca
2008-07-01mesa: fix a GLSL vector subscript/writemask bugBrian Paul
This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master
2008-07-01mesa: move some functionsBrian Paul
cherry-picked from master
2008-07-01mesa: make _slang_swizzle_swizzle() non-privateBrian Paul
cherry-picked from master
2008-07-01mesa: better function inlining in the presence of 'return' statementsBrian Paul
Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master
2008-07-01mesa: add/fix some IrInfo entries for debugging purposesBrian Paul
cherry-picked from master
2008-07-01i915: Last reference to surface -> pitchJakob Bornecrantz
2008-07-01gallium: Use the inline keyword on C++.José Fonseca
2008-07-01scons: Output mapfile on windows ddk profile builds.José Fonseca
2008-06-30g3dvl: Use block and stride instead of cpp and pitch.Younes Manton
2008-06-30g3dvl: Simplify shader code.Younes Manton
2008-06-30g3dvl: Support for field and frame based MC for progressive pictures.Younes Manton
MC support for frame and field based motion prediction. Also various bug fixes, clean up.
2008-06-30g3dvl: Work around SP tex cache bug, specify resource usage flags.Younes Manton
2008-06-30g3dvl: Get rid of some Valgrind errors.Younes Manton
Get rid of some Valgrind memory leak and uninitialized var errors.
2008-06-30gles: Don't define GLAPIENTRY here.José Fonseca
2008-06-29nouveau: oops, bump the drm patchlevel back down againBen Skeggs
2008-06-29nv50: fixes after rebase + commits note on the code that was just pushed.Ben Skeggs
OK, seems a lot of people have been getting the idea that nouveau is dying lately - I decided to commit some of the work I've been doing lately to prove them wrong :) Progress on my side is slow due to lack of time mainly, but I'm still around. Firstly, don't even bother trying to use gallium on G8x/G9x yet, it won't work. I've deliberately left all the necessary winsys changes out of the commits for a very good reason - I don't know what we're going to need from the DRM exactly yet and don't want to be continually breaking interfaces as I discover additional requirements. On my side, I think I've gone through about 3 different DRM interface changes, and have just discovered that I may need more yet. It'd be very annoying for everyone who uses nouveau to keep things in sync. Once I've got it sorted - I'll commit a lot of cool stuff. Stay tuned. Also, don't look at the shader code.. it's horribly nasty and full of hacks, I used it as an opportunity to learn G8x GPU programs at the same time. New semi-decent code is in works, and will follow at some point. :)
2008-06-29nv50: reverse stencil sides, header is wrongBen Skeggs
2008-06-29nv50: fix line stippleBen Skeggs
2008-06-29nv50: don't multiply polygon offset units by 2.0 like on nv40Ben Skeggs
2008-06-29nv50: maybe some scissor fixes..Ben Skeggs
2008-06-29nv50: vpt translate/scale backwardsBen Skeggs
2008-06-29nv50: whoopsBen Skeggs
2008-06-29nv50: rework miptree/texture/texsurf code a bitBen Skeggs