summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-04-03mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log()Brian Paul
Also, s/pow/_mesa_pow/
2009-04-03python/regress: Use A8R8G8B8 rendertarget format.Michal Krol
2009-04-03mesa: rename some gl_light fields to be clearerBrian Paul
EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
2009-04-03mesa: don't normalize spot light direction until validation timeBrian Paul
In glLight() we're only supposed to transform the direction by the modelview matrix, not normalized it too.
2009-04-03python/regress: vertex shader srcmod swz test does not use TEMP[0].Michal Krol
2009-04-03tgsi/exec: Actually enable switch-case for FLR.Michal Krol
2009-04-03i965: remove unused varBrian Paul
2009-04-03glx: remove unused local var in determineTextureFormat()Brian Paul
2009-04-03mesa: replace assertion with conditional in _mesa_opcode_string()Brian Paul
2009-04-03i965: more const buffer debug codeBrian Paul
2009-04-03i965: added brw_same_reg()Brian Paul
2009-04-03i965: s/GL_FALSE/BRW_COMPRESSION_NONE/Brian Paul
2009-04-03i965: another checkpoint commit of new constant buffer supportBrian Paul
Everything is in place now for using a true constant buffer for GLSL fragment shaders. Still some bugs to find though.
2009-04-03i965: fix response length param in brw_dp_READ_4()Brian Paul
We were accidentally clobbering the next register.
2009-04-03i965: change args to get_src_reg() to prep for new constant buffer supportBrian Paul
2009-04-03i965: check-point commit of new constant buffer supportBrian Paul
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.
2009-04-03i965: remove unused code for sampling a constant bufferBrian Paul
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-03tgsi/text: Allow optional component selection for indirect registers.Michal Krol
2009-04-03python/regress: vertex shader FRC test does not use IN[1].Michal Krol
2009-04-03python/regress: Add relative addressing tests.Michal Krol
2009-04-03util/debug: Initialise local variables.Michal Krol
2009-04-03tgsi/text: Allow `-|src|` variant of `-(|src|)`.Michal Krol
2009-04-03mesa: ensure pbo stencil buffers are mapped before useAlan Hourihane
2009-04-03python/regress: Add vertex shader source modifier tests.Michal Krol
2009-04-03nv50: fix viewport state updateChristoph Bumiller
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