Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs: Update EGL doc. | Chia-I Wu | 2010-07-03 | 1 | -50/+19 |
| | | | | Updated for the reorganization of st/egl targets. | ||||
* | mesa: Fix OpenGL ES-only builds. | Chia-I Wu | 2010-07-03 | 2 | -0/+4 |
| | | | | | | | | Check FEATURE_GL in _mesa_init_shader_dispatch and _mesa_init_shader_uniform_dispatch. OpenGL ES can not and does not use _mesa_init_<...>_dispatch. This is supposed to be temporary. Ideally, a more flexible way for initializing dispatch tables should be developed. | ||||
* | egl: Always use EGLAPIENTRY in api function prototypes | nobled | 2010-07-03 | 1 | -15/+15 |
| | | | | Fixes the build on Windows. | ||||
* | gallivm: Remove unnecessary headers. | Vinson Lee | 2010-07-03 | 2 | -2/+0 |
| | |||||
* | r300g: fix warnings | Marek Olšák | 2010-07-03 | 1 | -2/+5 |
| | |||||
* | r300/compiler: Fix loop unrolling | Tom Stellard | 2010-07-03 | 1 | -1/+15 |
| | |||||
* | r300/compiler: Use hardware flow control instructions for loops on r500. | Tom Stellard | 2010-07-03 | 8 | -44/+154 |
| | |||||
* | r300g: Fix typo in r300_reg.h | Tom Stellard | 2010-07-03 | 1 | -2/+2 |
| | |||||
* | r300/compiler: Don't continue copy propagation inside loops. | Tom Stellard | 2010-07-03 | 1 | -0/+5 |
| | |||||
* | r300/compiler: Print debug info for flow control instructions. | Tom Stellard | 2010-07-03 | 1 | -5/+73 |
| | |||||
* | r300/compiler: Enable hardware IF statements for r500 cards. | Tom Stellard | 2010-07-03 | 2 | -5/+6 |
| | |||||
* | r300/compiler: In the peephole optimizer, ELSE should mark the end of a | Tom Stellard | 2010-07-03 | 1 | -2/+13 |
| | | | | block. | ||||
* | r300/compiler: Correctly calculate the max number of iterations for loops. | Tom Stellard | 2010-07-03 | 1 | -17/+8 |
| | |||||
* | r300/compiler: Handle loops in deadcode analysis. | Tom Stellard | 2010-07-03 | 5 | -77/+112 |
| | | | | | | | | | 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. | ||||
* | osmesa: remove old renderbuffer before adding new | Brian Paul | 2010-07-02 | 1 | -0/+1 |
| | | | | | | Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice. NOTE: This is a candidate for the 7.8 branch. | ||||
* | mesa: updated instruction comments | Brian Paul | 2010-07-02 | 1 | -4/+3 |
| | |||||
* | mesa: add geometry shader fields to gl_shader_program | Brian Paul | 2010-07-02 | 4 | -53/+42 |
| | | | | | | | 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. | ||||
* | gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed. | José Fonseca | 2010-07-02 | 3 | -52/+96 |
| | | | | | Except if it has only one channel, as it would take the same number of instructions. | ||||
* | gallivm: Use util_format_description::fetch_rgba_8unorm() when available. | José Fonseca | 2010-07-02 | 1 | -7/+100 |
| | |||||
* | util: Add a fetch_rgba_8unorm. | José Fonseca | 2010-07-02 | 2 | -0/+15 |
| | | | | | | Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats. | ||||
* | gallivm: Support multiple pixels in lp_build_fetch_rgba_aos(). | José Fonseca | 2010-07-02 | 6 | -112/+202 |
| | | | | | This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time. | ||||
* | gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c | José Fonseca | 2010-07-02 | 3 | -32/+40 |
| | | | | It will be more useful here. | ||||
* | gallivm: Move gather functions to its own module. | José Fonseca | 2010-07-02 | 10 | -61/+215 |
| | | | | | They need to grow, and they provide basic functionality which is not specific to sampling. | ||||
* | gallivm: Check inputs/outputs in lp_build_conv() | José Fonseca | 2010-07-02 | 1 | -2/+6 |
| | |||||
* | util: Expose util_format_fits_8unorm(). | José Fonseca | 2010-07-02 | 2 | -1/+4 |
| | |||||
* | mesa: fix texenv generation when num color bufs == 0 | Brian Paul | 2010-07-02 | 1 | -1/+4 |
| | | | | | | | | | | | | 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). | ||||
* | softpipe: fix incorrect blend func index passed to blend_quad() | Brian Paul | 2010-07-02 | 1 | -8/+15 |
| | | | | | | | | 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. | ||||
* | softpipe: better assertions | Brian Paul | 2010-07-02 | 1 | -7/+7 |
| | |||||
* | mesa: add missing error checks in _mesa_program_parameteri() | Brian Paul | 2010-07-02 | 1 | -8/+45 |
| | |||||
* | main: change some GS field types, added comments | Brian Paul | 2010-07-02 | 1 | -2/+3 |
| | |||||
* | mesa: make the number of draw buffers part of the texenv program key state | Brian Paul | 2010-07-02 | 2 | -5/+9 |
| | | | | | | | | 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. | ||||
* | gallium/cso: check for set_vertex_sampler_views != NULL before calling it | Brian Paul | 2010-07-02 | 1 | -1/+2 |
| | | | | | Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889. | ||||
* | mesa: Silence warning. | José Fonseca | 2010-07-02 | 1 | -1/+2 |
| | |||||
* | gallivm: Code generate YUV format unpacking. | José Fonseca | 2010-07-02 | 5 | -0/+431 |
| | |||||
* | gallivm: Fix 4 x unorm8 -> 4 x float conversion. | José Fonseca | 2010-07-02 | 3 | -8/+31 |
| | | | | Also fix the test. | ||||
* | r600: use gallium list macros instead of making our own. | Dave Airlie | 2010-07-02 | 8 | -110/+112 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | mesa: extension flags and version testing for GL 3.x features | Brian Paul | 2010-07-01 | 3 | -3/+102 |
| | |||||
* | mesa: entrypoints for GL 3.1 primitive restart | Brian Paul | 2010-07-01 | 4 | -0/+110 |
| | |||||
* | Use GLW_CFLAGS when building libGLw | Dan Nicholson | 2010-07-01 | 2 | -1/+2 |
| | | | | | We check for libX11 and libXt, so we might as well use the CFLAGS pkg-config tells us about. | ||||
* | Use GLUT_CFLAGS when building glut | John Hein | 2010-07-01 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
* | mesa: Purge macros NEED_EVENTS and NEED_REPLIES | Fernando Carrijo | 2010-07-01 | 6 | -10/+0 |
| | | | | | Signed-off-by: Fernando Carrijo <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | gallium/cso: unbind sampler views in cso_release_all() | Brian Paul | 2010-07-01 | 1 | -0/+2 |
| | |||||
* | mesa: free xform feedback hash table | Brian Paul | 2010-07-01 | 1 | -0/+1 |
| | |||||
* | st/mesa: fix comment | Brian Paul | 2010-07-01 | 1 | -1/+1 |
| | |||||
* | llvmpipe: silence pointer type warnings | Brian Paul | 2010-07-01 | 1 | -4/+8 |
| | |||||
* | gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos(). | José Fonseca | 2010-07-01 | 6 | -141/+372 |
| | | | | Uses code and ideas from Brian Paul. | ||||
* | gallivm: Allow to conversions to/from registers of different sizes. | José Fonseca | 2010-07-01 | 4 | -25/+141 |
| | | | | | | Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul. | ||||
* | gallivm: Support extended swizzles in lp_build_swizzle1_aos(). | José Fonseca | 2010-07-01 | 3 | -23/+169 |
| | | | | And rename to lp_build_swizzle_aos(). | ||||
* | gallivm: Setup a global optimization pass. | José Fonseca | 2010-07-01 | 2 | -0/+31 |
| | | | | | Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary. | ||||
* | llvmpipe: Remove lp_build_swizzle2_aos(). | José Fonseca | 2010-07-01 | 3 | -83/+19 |
| | | | | Unnecessary special case. |