summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-04-03i965: code to setup a constant buffer samplerBrian Paul
This code won't actually be used and will be removed in a subsequent commit. Just committing for posterity.
2009-04-03i965: do negation and Abs in get_src_reg_imm()Brian Paul
Fixes regression seen with progs/glsl/bump.c
2009-04-03i965: commentsBrian Paul
2009-04-03i965: code to debug/dump instruction immediatesBrian Paul
2009-04-03i965: minor code movement, new commentBrian Paul
2009-04-03i965: added new brw_dp_READ_4() functionBrian Paul
Used to read float[4] vectors from the constant buffer/surface.
2009-04-03i965: new and updated commentsBrian Paul
2009-04-03mesa: more error message infoBrian Paul
2009-04-03mesa: clean up formatting and use 'return' instead of 'break' consistantlyBrian Paul
2009-04-03i965: comments for brw_SAMPLE()Brian Paul
2009-04-03i965: comments for sampling codeBrian Paul
2009-04-03i965: add support for float literal instruction operandsBrian Paul
Call the get_src_reg_imm() function when it's permissible to generate a literal value src register.
2009-04-03i965: remove 'nr' param from get_src/dst_reg() functionsBrian Paul
The value was always 1.
2009-04-03i965: fix comment typoBrian Paul
2009-04-03i965: comments, clean-up in prepare_wm_surfaces()Brian Paul
2009-04-03i965: remove unneeded #includesBrian Paul
2009-04-03i965: formatting clean-upsBrian Paul
2009-04-03i965: comments, whitespace changesBrian Paul
2009-04-03i965: rename scratch_buffer -> scratch_bo to be consistant with other buffersBrian Paul
2009-04-03i965: fix indentationBrian Paul
2009-04-03i965: whitespace changes, commentsBrian Paul
2009-04-03mesa: ensure pbo stencil buffers are mapped before useAlan Hourihane
2009-04-02mesa: fix TexParameter functionsRoland Scheidegger
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.
2009-04-02mesa: don't call ctx->Driver.ReadPixels() if width or height is zeroBrian Paul
2009-04-02mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zeroBrian Paul
2009-04-02glsl: fix segfault in linker when vertex or fragment shader was missingBrian Paul
2009-04-02dri glx: Fix dri_util::driBindContextThomas Hellstrom
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>
2009-04-02dri glx: Propagate driver MakeCurrent errors.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-01swrast: remove unused integer lerp functionsBrian Paul
2009-04-01mesa: get rid of gl_texture_object::_BorderChanBrian Paul
2009-04-01dri: use BorderColor instead of _BorderChanBrian Paul
2009-04-01swrast: remove old texture_apply() code; always use texture combine codeBrian Paul
2009-04-01swrast: fix bad optimization checkBrian Paul
2009-04-01swrast: remove unused parameterBrian Paul
2009-04-01swrast: minor improvements, clean-ups in texcombine codeBrian Paul
2009-04-01mesa: simplify ycbcr->rgb conversion codeBrian Paul
2009-04-01mesa: convert more texture fetch functions to return GLfloatBrian Paul
2009-04-01mesa: switch texel fetch functions from GLchan to GLfloatBrian Paul
2009-04-01swrast: use float4_array typedef to simplify the code a bitBrian Paul
2009-04-01mesa: texture combine clean-upsBrian Paul
Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
2009-04-01swrast: refactor depth/shadow sampling codeBrian Paul
2009-04-01swrast: general clean-up of texture combine codeBrian Paul
2009-04-01swrast: do texture sampling/combining in floating pointBrian Paul
The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
2009-04-01glsl: implement compiling/linking of separate compilation unitsBrian Paul
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.
2009-04-01mesa: use correct tex unit lod bias for TXB instructionBrian Paul
2009-04-01swrast: fix glDrawBuffer(GL_FRONT_AND_BACK)Brian Paul
We weren't putting the right colors into the back buffer in this mode.
2009-04-01mesa: fix a recursive display list problemBrian Paul
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.
2009-04-01glsl: fix texgen state variable tokens in emit_statevars()Brian Paul
This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays. See bug 20986.
2009-04-01mesa: minor tweaks in append_token() for printing state var stringsBrian Paul
2009-03-31mesa: fix bug in GPU codegen for fixed-function two-sided lightingBrian Paul
The 'dots' register wasn't getting properly un-negated and un-swizzled after emitting the code for back-face lighting. So, if more than one light source was enabled, the specular exponent for the next light source was wrong. During execution we were evaluating pow(x, y) where y was negative instead of positive. This led to the outcome being zero or NaN. This fixes the occasional black triangles seen in isosurf when hacked to enable two-sided lighting.