Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: add support for float literal instruction operands | Brian Paul | 2009-04-03 | 1 | -20/+43 |
| | | | | | Call the get_src_reg_imm() function when it's permissible to generate a literal value src register. | ||||
* | i965: remove 'nr' param from get_src/dst_reg() functions | Brian Paul | 2009-04-03 | 1 | -112/+114 |
| | | | | The value was always 1. | ||||
* | i965: fix comment typo | Brian Paul | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | i965: comments, clean-up in prepare_wm_surfaces() | Brian Paul | 2009-04-03 | 1 | -11/+15 |
| | |||||
* | i965: remove unneeded #includes | Brian Paul | 2009-04-03 | 1 | -9/+0 |
| | |||||
* | i965: formatting clean-ups | Brian Paul | 2009-04-03 | 1 | -3/+4 |
| | |||||
* | i965: comments, whitespace changes | Brian Paul | 2009-04-03 | 1 | -8/+14 |
| | |||||
* | i965: rename scratch_buffer -> scratch_bo to be consistant with other buffers | Brian Paul | 2009-04-03 | 2 | -12/+12 |
| | |||||
* | i965: fix indentation | Brian Paul | 2009-04-03 | 1 | -2/+2 |
| | |||||
* | i965: whitespace changes, comments | Brian Paul | 2009-04-03 | 1 | -13/+24 |
| | |||||
* | tgsi/text: Allow optional component selection for indirect registers. | Michal Krol | 2009-04-03 | 1 | -5/+38 |
| | |||||
* | python/regress: vertex shader FRC test does not use IN[1]. | Michal Krol | 2009-04-03 | 1 | -1/+0 |
| | |||||
* | python/regress: Add relative addressing tests. | Michal Krol | 2009-04-03 | 4 | -0/+72 |
| | |||||
* | util/debug: Initialise local variables. | Michal Krol | 2009-04-03 | 1 | -2/+2 |
| | |||||
* | tgsi/text: Allow `-|src|` variant of `-(|src|)`. | Michal Krol | 2009-04-03 | 1 | -3/+11 |
| | |||||
* | mesa: ensure pbo stencil buffers are mapped before use | Alan Hourihane | 2009-04-03 | 1 | -0/+5 |
| | |||||
* | python/regress: Add vertex shader source modifier tests. | Michal Krol | 2009-04-03 | 5 | -0/+59 |
| | |||||
* | nv50: fix viewport state update | Christoph Bumiller | 2009-04-03 | 1 | -1/+2 |
| | |||||
* | mesa: fix TexParameter functions | Roland Scheidegger | 2009-04-02 | 1 | -62/+86 |
| | | | | | | | | | premature return in TexParameterf caused mesa to never call Driver.TexParameter breaking drivers relying on this (fix bug #20966). While here, also fix using ctx->ErrorValue when deciding to call Driver.TexParameter. Errors are sticky and uncleared errors thus would cause this to no longer get called. Since we thus need return value of set_tex_parameter[if] can also optimize this to only call when value changed. | ||||
* | mesa: don't call ctx->Driver.ReadPixels() if width or height is zero | Brian Paul | 2009-04-02 | 1 | -0/+3 |
| | |||||
* | mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zero | Brian Paul | 2009-04-02 | 1 | -24/+28 |
| | |||||
* | glsl: fix segfault in linker when vertex or fragment shader was missing | Brian Paul | 2009-04-02 | 1 | -9/+14 |
| | |||||
* | progs: Ignores | Jakob Bornecrantz | 2009-04-02 | 3 | -0/+7 |
| | |||||
* | python/regress: Do not generate HTML summary for vertex shader test. | Michal Krol | 2009-04-02 | 1 | -15/+0 |
| | |||||
* | glx: MakeCurrent fixes. | Thomas Hellstrom | 2009-04-02 | 2 | -9/+44 |
| | | | | | | | | | | 1) If MakeContextCurrent is called with (NULL, None, None), Don't send the request to the X server if the current context is direct. 2) Return BadMatch in some error cases according to the glx spec. 3) If MakeContextCurrent is called for a context which is current in another thread, return BadAccess according to the glx spec. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | dri glx: Fix dri_util::driBindContext | Thomas Hellstrom | 2009-04-02 | 1 | -18/+14 |
| | | | | | | | | | | | 1) Don't error-check here. It's done in glx makeCurrent. 2) Allow ctx and the dri drawables to be NULL for future use. This is currently blocked in glx makeCurrent. 3) Avoid updating dri drawables unless they are completely uninitialized. Since the updating was done outside of the lock, the driver need to verify and redo it anyway. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | dri glx: Propagate driver MakeCurrent errors. | Thomas Hellstrom | 2009-04-02 | 1 | -2/+1 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | python/regress: Do not create zbuf for vertex shader test. | Michal Krol | 2009-04-02 | 1 | -8/+1 |
| | |||||
* | python/regress: Add more vertex shader test cases. | Michal Krol | 2009-04-02 | 10 | -0/+146 |
| | |||||
* | swrast: remove unused integer lerp functions | Brian Paul | 2009-04-01 | 1 | -43/+1 |
| | |||||
* | mesa: get rid of gl_texture_object::_BorderChan | Brian Paul | 2009-04-01 | 2 | -5/+0 |
| | |||||
* | dri: use BorderColor instead of _BorderChan | Brian Paul | 2009-04-01 | 13 | -51/+102 |
| | |||||
* | swrast: remove old texture_apply() code; always use texture combine code | Brian Paul | 2009-04-01 | 3 | -403/+22 |
| | |||||
* | swrast: fix bad optimization check | Brian Paul | 2009-04-01 | 1 | -1/+2 |
| | |||||
* | swrast: remove unused parameter | Brian Paul | 2009-04-01 | 1 | -6/+1 |
| | |||||
* | swrast: minor improvements, clean-ups in texcombine code | Brian Paul | 2009-04-01 | 1 | -9/+8 |
| | |||||
* | mesa: simplify ycbcr->rgb conversion code | Brian Paul | 2009-04-01 | 1 | -32/+14 |
| | |||||
* | mesa: convert more texture fetch functions to return GLfloat | Brian Paul | 2009-04-01 | 2 | -107/+94 |
| | |||||
* | mesa: switch texel fetch functions from GLchan to GLfloat | Brian Paul | 2009-04-01 | 2 | -280/+266 |
| | |||||
* | swrast: use float4_array typedef to simplify the code a bit | Brian Paul | 2009-04-01 | 1 | -54/+71 |
| | |||||
* | mesa: texture combine clean-ups | Brian Paul | 2009-04-01 | 5 | -112/+108 |
| | | | | | | Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments. | ||||
* | swrast: refactor depth/shadow sampling code | Brian Paul | 2009-04-01 | 1 | -262/+271 |
| | |||||
* | swrast: general clean-up of texture combine code | Brian Paul | 2009-04-01 | 1 | -246/+161 |
| | |||||
* | swrast: do texture sampling/combining in floating point | Brian Paul | 2009-04-01 | 8 | -779/+512 |
| | | | | | The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled... | ||||
* | demos: added progs/glsl/linktest.c to test linking of separate compilation units | Brian Paul | 2009-04-01 | 2 | -0/+265 |
| | |||||
* | glsl: implement compiling/linking of separate compilation units | Brian Paul | 2009-04-01 | 6 | -23/+139 |
| | | | | | | | | | A shader program may consist of multiple shaders (source code units). If we find there are unresolved functions after compiling the unit that defines main(), we'll concatenate all the respective vertex or fragment shaders then recompile. This isn't foolproof but should work in most cases. | ||||
* | mesa: use correct tex unit lod bias for TXB instruction | Brian Paul | 2009-04-01 | 1 | -2/+2 |
| | |||||
* | swrast: fix glDrawBuffer(GL_FRONT_AND_BACK) | Brian Paul | 2009-04-01 | 1 | -2/+8 |
| | | | | We weren't putting the right colors into the back buffer in this mode. | ||||
* | mesa: fix a recursive display list problem | Brian Paul | 2009-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | This fixes an issue when compiling glCallList() into another display list when the mode is GL_COMPILE_AND_EXECUTE. Before, the call to glCallList() called _mesa_save_CallList() which called neutral_CallList() which then called _mesa_save_CallList() again. In the end, the parent display list contained two calls to the child display list instead of one. Let's be on the lookout for regressions caused by this change for a while before we cherry-pick this elsewhere. | ||||
* | r300-gallium: Translate vertex shader magic numbers. | Corbin Simpson | 2009-04-01 | 1 | -13/+51 |
| |