summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log()Brian Paul2009-04-031-2/+2
| | | | Also, s/pow/_mesa_pow/
* python/regress: Use A8R8G8B8 rendertarget format.Michal Krol2009-04-031-1/+1
|
* mesa: rename some gl_light fields to be clearerBrian Paul2009-04-0310-36/+36
| | | | | EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
* mesa: don't normalize spot light direction until validation timeBrian Paul2009-04-031-2/+7
| | | | | In glLight() we're only supposed to transform the direction by the modelview matrix, not normalized it too.
* python/regress: vertex shader srcmod swz test does not use TEMP[0].Michal Krol2009-04-031-1/+0
|
* tgsi/exec: Actually enable switch-case for FLR.Michal Krol2009-04-031-1/+1
|
* i965: remove unused varBrian Paul2009-04-031-1/+0
|
* glx: remove unused local var in determineTextureFormat()Brian Paul2009-04-031-1/+0
|
* mesa: replace assertion with conditional in _mesa_opcode_string()Brian Paul2009-04-031-2/+4
|
* i965: more const buffer debug codeBrian Paul2009-04-031-50/+84
|
* i965: added brw_same_reg()Brian Paul2009-04-031-0/+7
|
* i965: s/GL_FALSE/BRW_COMPRESSION_NONE/Brian Paul2009-04-031-1/+1
|
* i965: another checkpoint commit of new constant buffer supportBrian Paul2009-04-032-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 Paul2009-04-031-1/+1
| | | | We were accidentally clobbering the next register.
* i965: change args to get_src_reg() to prep for new constant buffer supportBrian Paul2009-04-031-79/+85
|
* i965: check-point commit of new constant buffer supportBrian Paul2009-04-035-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 bufferBrian Paul2009-04-031-42/+0
|
* i965: code to setup a constant buffer samplerBrian Paul2009-04-031-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 Paul2009-04-031-1/+6
| | | | Fixes regression seen with progs/glsl/bump.c
* i965: commentsBrian Paul2009-04-031-0/+5
|
* i965: code to debug/dump instruction immediatesBrian Paul2009-04-031-0/+5
|
* i965: minor code movement, new commentBrian Paul2009-04-031-1/+4
|
* i965: added new brw_dp_READ_4() functionBrian Paul2009-04-032-0/+57
| | | | Used to read float[4] vectors from the constant buffer/surface.
* i965: new and updated commentsBrian Paul2009-04-031-17/+29
|
* mesa: more error message infoBrian Paul2009-04-031-1/+2
|
* mesa: clean up formatting and use 'return' instead of 'break' consistantlyBrian Paul2009-04-031-51/+67
|
* i965: comments for brw_SAMPLE()Brian Paul2009-04-031-1/+5
|
* i965: comments for sampling codeBrian Paul2009-04-031-28/+28
|
* i965: add support for float literal instruction operandsBrian Paul2009-04-031-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() functionsBrian Paul2009-04-031-112/+114
| | | | The value was always 1.
* i965: fix comment typoBrian Paul2009-04-031-1/+1
|
* i965: comments, clean-up in prepare_wm_surfaces()Brian Paul2009-04-031-11/+15
|
* i965: remove unneeded #includesBrian Paul2009-04-031-9/+0
|
* i965: formatting clean-upsBrian Paul2009-04-031-3/+4
|
* i965: comments, whitespace changesBrian Paul2009-04-031-8/+14
|
* i965: rename scratch_buffer -> scratch_bo to be consistant with other buffersBrian Paul2009-04-032-12/+12
|
* i965: fix indentationBrian Paul2009-04-031-2/+2
|
* i965: whitespace changes, commentsBrian Paul2009-04-031-13/+24
|
* tgsi/text: Allow optional component selection for indirect registers.Michal Krol2009-04-031-5/+38
|
* python/regress: vertex shader FRC test does not use IN[1].Michal Krol2009-04-031-1/+0
|
* python/regress: Add relative addressing tests.Michal Krol2009-04-034-0/+72
|
* util/debug: Initialise local variables.Michal Krol2009-04-031-2/+2
|
* tgsi/text: Allow `-|src|` variant of `-(|src|)`.Michal Krol2009-04-031-3/+11
|
* mesa: ensure pbo stencil buffers are mapped before useAlan Hourihane2009-04-031-0/+5
|
* python/regress: Add vertex shader source modifier tests.Michal Krol2009-04-035-0/+59
|
* nv50: fix viewport state updateChristoph Bumiller2009-04-031-1/+2
|
* mesa: fix TexParameter functionsRoland Scheidegger2009-04-021-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 zeroBrian Paul2009-04-021-0/+3
|
* mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zeroBrian Paul2009-04-021-24/+28
|
* glsl: fix segfault in linker when vertex or fragment shader was missingBrian Paul2009-04-021-9/+14
|