Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-02 | gallivm: Use util_format_description::fetch_rgba_8unorm() when available. | José Fonseca | |
2010-07-02 | util: 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-02 | gallivm: 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-02 | gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c | José Fonseca | |
It will be more useful here. | |||
2010-07-02 | gallivm: 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-02 | gallivm: Check inputs/outputs in lp_build_conv() | José Fonseca | |
2010-07-02 | util: Expose util_format_fits_8unorm(). | José Fonseca | |
2010-07-02 | mesa: fix texenv generation when num color bufs == 0 | Brian 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-02 | softpipe: 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-02 | softpipe: better assertions | Brian Paul | |
2010-07-02 | mesa: add missing error checks in _mesa_program_parameteri() | Brian Paul | |
2010-07-02 | main: change some GS field types, added comments | Brian Paul | |
2010-07-02 | mesa: make the number of draw buffers part of the texenv program key state | Brian 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-02 | gallium/cso: check for set_vertex_sampler_views != NULL before calling it | Brian Paul | |
Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889. | |||
2010-07-02 | mesa: Silence warning. | José Fonseca | |
2010-07-02 | gallivm: Code generate YUV format unpacking. | José Fonseca | |
2010-07-02 | gallivm: Fix 4 x unorm8 -> 4 x float conversion. | José Fonseca | |
Also fix the test. | |||
2010-07-02 | r600: 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-01 | glsl2: Conditionally allow optional extensions to be enabled | Ian Romanick | |
The only optional extension currently supported by the compiler is GL_EXT_texture_array. | |||
2010-07-01 | glsl2: Append _TOK to some parser tokens | Ian Romanick | |
This prevents conflicts with defines elsewhere in Mesa and allows including mtypes.h in the compiler. | |||
2010-07-01 | glsl2: Conditionally define preprocessor tokens for optional extensions | Ian Romanick | |
The only optional extension currently supported by the compiler is GL_EXT_texture_array. | |||
2010-07-01 | glsl2: Define preprocessor tokens for extensions | Ian Romanick | |
Currently only GL_ARB_draw_buffers and GL_ARB_texture_rectangle are defined because those extensions are always enabled. This make tex_rect-03.frag pass. | |||
2010-07-01 | glsl2: Support AST-to-IR translation of invariant keyword | Ian Romanick | |
2010-07-01 | mesa: extension flags and version testing for GL 3.x features | Brian Paul | |
2010-07-01 | mesa: entrypoints for GL 3.1 primitive restart | Brian Paul | |
2010-07-01 | glsl2: Initialize ast_declarator_list::invariant in constructor | Ian Romanick | |
2010-07-01 | glsl2: Don't bounds check unsize array redeclarations | Ian Romanick | |
This along with several previous commits fix test CorrectUnsizedArray.frag. | |||
2010-07-01 | glsl2: Add gl_MaxTextureCoords | Ian Romanick | |
2010-07-01 | glsl2: Default delcaration of gl_TexCoord is unsized | Ian Romanick | |
2010-07-01 | Use GLW_CFLAGS when building libGLw | Dan Nicholson | |
We check for libX11 and libXt, so we might as well use the CFLAGS pkg-config tells us about. | |||
2010-07-01 | glsl2: Change order of semaintic checks on variable declarations | Ian Romanick | |
This will make it easier to support more (valid) kinds of redeclarations. | |||
2010-07-01 | mesa: Purge macros NEED_EVENTS and NEED_REPLIES | Fernando Carrijo | |
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-07-01 | gallium/cso: unbind sampler views in cso_release_all() | Brian Paul | |
2010-07-01 | mesa: free xform feedback hash table | Brian Paul | |
2010-07-01 | st/mesa: fix comment | Brian Paul | |
2010-07-01 | ir_to_mesa: Fill in remaining ops, remove default case for expression types. | Eric Anholt | |
We should now have support for all the expression types we need for GLSL 1.20. | |||
2010-07-01 | ir_to_mesa: Add support for ir_unop_rcp. | Eric Anholt | |
This isn't used at the moment, but will be soon. | |||
2010-07-01 | glsl2: Update README for what I've been thinking about with expr types work. | Eric Anholt | |
2010-07-01 | glsl2: Add a pass to convert mod(a, b) to b * fract(a/b). | Eric Anholt | |
This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod. | |||
2010-07-01 | glsl2: Remove dead member from dead code visitor. | Eric Anholt | |
2010-07-01 | glsl2: Add ir_unop_fract as an expression type. | Eric Anholt | |
Most backends will prefer seeing this to seeing (a - floor(a)), so represent it explicitly. | |||
2010-07-01 | llvmpipe: silence pointer type warnings | Brian Paul | |
2010-07-01 | gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos(). | José Fonseca | |
Uses code and ideas from Brian Paul. | |||
2010-07-01 | gallivm: 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-01 | gallivm: Support extended swizzles in lp_build_swizzle1_aos(). | José Fonseca | |
And rename to lp_build_swizzle_aos(). | |||
2010-07-01 | gallivm: 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-01 | llvmpipe: Remove lp_build_swizzle2_aos(). | José Fonseca | |
Unnecessary special case. | |||
2010-06-30 | ir_to_mesa: Add support for discard instructions. | Eric Anholt | |
Fixes glsl-fs-discard-01. | |||
2010-06-30 | glsl2: Don't break sign() down by vector components. | Eric Anholt | |
2010-06-30 | ir_to_mesa: Add support for ir_unop_sign. | Eric Anholt | |
Fixes glsl-fs-sign, glsl-vs-sign. |