summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-03r300/compiler: Don't continue copy propagation inside loops.Tom Stellard
2010-07-03r300/compiler: Print debug info for flow control instructions.Tom Stellard
2010-07-03r300/compiler: Enable hardware IF statements for r500 cards.Tom Stellard
2010-07-03r300/compiler: In the peephole optimizer, ELSE should mark the end of aTom Stellard
block.
2010-07-03r300/compiler: Correctly calculate the max number of iterations for loops.Tom Stellard
2010-07-03r300/compiler: Handle loops in deadcode analysis.Tom Stellard
This also allows us to split the loop emulation into two phases. A tranformation phase which either unrolls loops or prepares them to be emulated, and the emulation phase which unrolls remaining loops until the instruction limit is reached. The second phase is completed after the deadcode analysis in order to get a more accurate count of the number of instructions in the body of loops.
2010-07-02osmesa: remove old renderbuffer before adding newBrian Paul
Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice. NOTE: This is a candidate for the 7.8 branch.
2010-07-02mesa: updated instruction commentsBrian Paul
2010-07-02mesa: add geometry shader fields to gl_shader_programBrian Paul
These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
2010-07-02gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed.José Fonseca
Except if it has only one channel, as it would take the same number of instructions.
2010-07-02gallivm: Use util_format_description::fetch_rgba_8unorm() when available.José Fonseca
2010-07-02util: Add a fetch_rgba_8unorm.José Fonseca
Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats.
2010-07-02gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().José Fonseca
This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time.
2010-07-02gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.cJosé Fonseca
It will be more useful here.
2010-07-02gallivm: Move gather functions to its own module.José Fonseca
They need to grow, and they provide basic functionality which is not specific to sampling.
2010-07-02gallivm: Check inputs/outputs in lp_build_conv()José Fonseca
2010-07-02util: Expose util_format_fits_8unorm().José Fonseca
2010-07-02mesa: fix texenv generation when num color bufs == 0Brian Paul
Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE)) when the texenv program was generated, we'd emit writes to OUTPUT[1] but the OutputsWritten mask was 0. This inconsistency caused an assertion to fail later in the Mesa->TGSI translation. Fixes fd.o bug 28169 NOTE: this is a candidate for the 7.8 branch (and depends on commit b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7).
2010-07-02softpipe: fix incorrect blend func index passed to blend_quad()Brian Paul
Need to pass the index indicating which blend terms to use, not which color buffer we're blending into. Rename the parameter to blend_quad() and add comments to be more clear about this.
2010-07-02softpipe: better assertionsBrian Paul
2010-07-02mesa: add missing error checks in _mesa_program_parameteri()Brian Paul
2010-07-02main: change some GS field types, added commentsBrian Paul
2010-07-02mesa: make the number of draw buffers part of the texenv program key stateBrian Paul
All the state that effects the program should be in the key. This didn't help with bug 28169 but is a good fix anyway. NOTE: this is a low-priority candidate for the 7.8 branch. In practice, this issue might never be hit.
2010-07-02gallium/cso: check for set_vertex_sampler_views != NULL before calling itBrian Paul
Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889.
2010-07-02mesa: Silence warning.José Fonseca
2010-07-02gallivm: Code generate YUV format unpacking.José Fonseca
2010-07-02gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca
Also fix the test.
2010-07-02r600: use gallium list macros instead of making our own.Dave Airlie
before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-01mesa: extension flags and version testing for GL 3.x featuresBrian Paul
2010-07-01mesa: entrypoints for GL 3.1 primitive restartBrian Paul
2010-07-01Use GLW_CFLAGS when building libGLwDan Nicholson
We check for libX11 and libXt, so we might as well use the CFLAGS pkg-config tells us about.
2010-07-01Use GLUT_CFLAGS when building glutJohn Hein
Fix this build error (in MesaGLUT-7.6.1)... glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory ...by not preventing the cflags that pkg-config finds for glut dependencies (including 'xmu') from being used. Defining GLUT_CFLAGS before running the pkg-config prevents the cflags found by pkg-config from being used. This patch lets GLUT_CFLAGS that configure & pkg-config work so hard to set actually get used. Also make sure the generated configs/autoconf defines GLUT_CFLAGS used in (at least) src/glut/glx/Makefile. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-07-01mesa: Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-07-01gallium/cso: unbind sampler views in cso_release_all()Brian Paul
2010-07-01mesa: free xform feedback hash tableBrian Paul
2010-07-01st/mesa: fix commentBrian Paul
2010-07-01llvmpipe: silence pointer type warningsBrian Paul
2010-07-01gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca
Uses code and ideas from Brian Paul.
2010-07-01gallivm: Allow to conversions to/from registers of different sizes.José Fonseca
Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
2010-07-01gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca
And rename to lp_build_swizzle_aos().
2010-07-01gallivm: Setup a global optimization pass.José Fonseca
Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary.
2010-07-01llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca
Unnecessary special case.
2010-06-30llvmpipe: another null pointer checkBrian Paul
2010-06-30llvmpipe: use dummy tile when out of memoryBrian Paul
2010-06-30llvmpipe: added new lp_memory.[ch] filesBrian Paul
Functions for using dummy tiles when we detect OOM conditions.
2010-06-30draw: fix out of memory handling in polygon stipple stageBrian Paul
2010-06-30glu: Fix some compiler warnings in libtessNeil Roberts
When compiled with the more aggressive compiler warnings such as -Wshadow and -Wempty-body the libtess code gives a lot more warnings. This fixes the following issues: * The 'Swap' macro tries to combine multiple statements into one and then consume the trailing semicolon by using if(1){/*...*/}else. This gives warnings because the else part ends up with an empty statement. It also seems a bit dangerous because if the semicolon were missed then it would still be valid syntax but it would just ignore the following statement. This patch replaces it with the more common idiom do { /*...*/ } while(0). * 'free' was being used as a local variable name but this shadows the global function. This has been renamed to 'free_handle' * TRUE and FALSE were being unconditionally defined. Although this isn't currently a problem it seems better to guard them with #ifndef because it's quite common for them to be defined in other headers. https://bugs.freedesktop.org/show_bug.cgi?id=28845 Signed-off-by: Brian Paul <brianp@vmware.com>
2010-06-30egl: Update MaxSize when a dynamic array is grown.Chia-I Wu
2010-06-30egl: Make _eglUnloadDrivers no-op on Windows.Chia-I Wu
Windows unloads DLLs before atexit. Make _eglUnloadDrivers no-op on Windows for now.
2010-06-30st/egl: Manually free configs on terminate.Chia-I Wu
The configs should be FREE()ed, not free()ed. We cannot rely on _eglCleanupDisplay here.