Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the ↵ | Brian Paul | 2009-04-03 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | inverse If _math_matrix_analyse() got called before we allocated the inverse matrix array we could lose the flag indicating that we needed to compute the inverse. This could happen with certain vertex shader cases. | |||||
| * | mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log() | Brian Paul | 2009-04-03 | 1 | -2/+2 | |
| | | | | | | | | Also, s/pow/_mesa_pow/ | |||||
| * | mesa: rename some gl_light fields to be clearer | Brian Paul | 2009-04-03 | 10 | -36/+36 | |
| | | | | | | | | | | EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection | |||||
| * | mesa: don't normalize spot light direction until validation time | Brian Paul | 2009-04-03 | 1 | -2/+7 | |
| | | | | | | | | | | In glLight() we're only supposed to transform the direction by the modelview matrix, not normalized it too. | |||||
| * | i965: remove unused var | Brian Paul | 2009-04-03 | 1 | -1/+0 | |
| | | ||||||
| * | mesa: replace assertion with conditional in _mesa_opcode_string() | Brian Paul | 2009-04-03 | 1 | -2/+4 | |
| | | ||||||
| * | i965: more const buffer debug code | Brian Paul | 2009-04-03 | 1 | -50/+84 | |
| | | ||||||
| * | i965: added brw_same_reg() | Brian Paul | 2009-04-03 | 1 | -0/+7 | |
| | | ||||||
| * | i965: s/GL_FALSE/BRW_COMPRESSION_NONE/ | Brian Paul | 2009-04-03 | 1 | -1/+1 | |
| | | ||||||
| * | i965: another checkpoint commit of new constant buffer support | Brian Paul | 2009-04-03 | 2 | -65/+115 | |
| | | | | | | | | | | Everything is in place now for using a true constant buffer for GLSL fragment shaders. Still some bugs to find though. | |||||
| * | i965: fix response length param in brw_dp_READ_4() | Brian Paul | 2009-04-03 | 1 | -1/+1 | |
| | | | | | | | | We were accidentally clobbering the next register. | |||||
| * | i965: change args to get_src_reg() to prep for new constant buffer support | Brian Paul | 2009-04-03 | 1 | -79/+85 | |
| | | ||||||
| * | i965: check-point commit of new constant buffer support | Brian Paul | 2009-04-03 | 5 | -35/+288 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, shader constants are stored in the GRF (loaded from the CURBE prior to shader execution). This severly limits the number of constants and temps that we can support. This new code will support (practically) unlimited size constant buffers and free up registers in the GRF. We allocate a new buffer object for the constants and read them with "Read" messages/instructions. When only a small number of constants are used, we can still use the old method. The code works for fragment shaders only (and is actually disabled) for now. Need to do the same thing for vertex shaders and need to add the necessary code-gen to fetch the constants which are referenced by the shader instructions. | |||||
| * | i965: remove unused code for sampling a constant buffer | Brian Paul | 2009-04-03 | 1 | -42/+0 | |
| | | ||||||
| * | i965: code to setup a constant buffer sampler | Brian Paul | 2009-04-03 | 1 | -0/+43 | |
| | | | | | | | | | | This code won't actually be used and will be removed in a subsequent commit. Just committing for posterity. | |||||
| * | i965: do negation and Abs in get_src_reg_imm() | Brian Paul | 2009-04-03 | 1 | -1/+6 | |
| | | | | | | | | Fixes regression seen with progs/glsl/bump.c | |||||
| * | i965: comments | Brian Paul | 2009-04-03 | 1 | -0/+5 | |
| | | ||||||
| * | i965: code to debug/dump instruction immediates | Brian Paul | 2009-04-03 | 1 | -0/+5 | |
| | | ||||||
| * | i965: minor code movement, new comment | Brian Paul | 2009-04-03 | 1 | -1/+4 | |
| | | ||||||
| * | i965: added new brw_dp_READ_4() function | Brian Paul | 2009-04-03 | 2 | -0/+57 | |
| | | | | | | | | Used to read float[4] vectors from the constant buffer/surface. | |||||
| * | i965: new and updated comments | Brian Paul | 2009-04-03 | 1 | -17/+29 | |
| | | ||||||
| * | mesa: more error message info | Brian Paul | 2009-04-03 | 1 | -1/+2 | |
| | | ||||||
| * | mesa: clean up formatting and use 'return' instead of 'break' consistantly | Brian Paul | 2009-04-03 | 1 | -51/+67 | |
| | | ||||||
| * | i965: comments for brw_SAMPLE() | Brian Paul | 2009-04-03 | 1 | -1/+5 | |
| | | ||||||
| * | i965: comments for sampling code | Brian Paul | 2009-04-03 | 1 | -28/+28 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | mesa: ensure pbo stencil buffers are mapped before use | Alan Hourihane | 2009-04-03 | 1 | -0/+5 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | 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> | |||||
| * | 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 | |
| | |