summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: use new color packing utility functionsBrian2008-03-181-55/+6
|
* gallium: use new gallium utility code for generating mipmapsBrian2008-03-172-230/+8
|
* gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEARESTBrian Paul2008-03-171-10/+5
| | | | Plus, comments, clean-ups.
* gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵Brian Paul2008-03-171-0/+6
| | | | rendering each level
* only set InputsRead bit if input is really usedMarkus Amsler2008-03-171-3/+5
|
* mesa: clamp point size in vertex program when computing attenuated sizeBrian Paul2008-03-141-3/+4
|
* gallium: if point size not computed per vertex, apply size clamp immediately.Brian Paul2008-03-141-1/+6
| | | | Fixes glean pointAtten failure.
* mesa: init tmpNode to zerosBrian Paul2008-03-141-0/+1
|
* mesa: fix emit_clamp() so that we don't use an output register as temporaryBrian Paul2008-03-141-3/+12
| | | | | | IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).
* mesa: revert fast-track glColor and similar calls when not immediate mode ↵Brian2008-03-141-9/+2
| | | | | | | | | | rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4.
* gallium: in st_program_string_notify() free shader tokens.Brian2008-03-141-0/+10
| | | | | | When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes.
* gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵Brian2008-03-131-1/+7
| | | | | | st_draw_vertices() When pass-through mode is fully supported we'll clean this up more.
* gallium: add some temporary code for testing draw module vertex passthroughBrian2008-03-131-1/+16
| | | | Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor
* gallium: remove semantic info from pipe_shader_stateBrian Paul2008-03-134-78/+99
| | | | Brian's patch to clean up the shader interfaces.
* mesa: fix (harmless?) assignment in assertKeith Whitwell2008-03-131-1/+1
|
* gallium: in clear_stencil_buffer() check surface format to determine stencil ↵Brian2008-03-121-0/+9
| | | | | | clear value ... as we do for the Z and Z+stencil cases
* mesa: set SamplersUsed bitmask when parsing ARB fragment programsBrian2008-03-121-1/+4
|
* gallium: pass NULL to cso_single_sampler() when the sampler isn't used.Brian2008-03-121-2/+5
| | | | | This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing.
* gallium: use TXP rather than ExtDivide flagBrian2008-03-121-2/+1
|
* gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell2008-03-121-0/+4
| | | | | | Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
* gallium: rework CSO-related code in state trackerBrian2008-03-1119-294/+284
| | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
* fix Height2/Depth2 init problem when using texture bordersBrian2008-03-101-6/+17
|
* gallium: disable an unneeded assertion (hit with texwrap.c)Brian2008-03-101-1/+2
|
* mesa: fast-track glColor and similar calls when not immediate mode renderingKeith Whitwell2008-03-101-2/+9
| | | | | | Often these are mixed in with draw arrays calls, etc. Try not to get the whole immediate rendering state machine going when we receive one of these on their own.
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-055-25/+33
| | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
* gallium: Add missing file for scons build.Michel Dänzer2008-03-041-0/+1
|
* gallium: change st->state.sampler_texture[] to store pipe_texture pointersBrian Paul2008-02-294-13/+9
| | | | | This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs.
* gallium: fix update_textures() bug in pipe_texture binding logicBrian Paul2008-02-291-1/+3
| | | | | The 'st' pointer might not have changed, but st->pt might have. The dirtyData flag will indicate when that's happened, so check it.
* gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is neededBrian Paul2008-02-291-1/+8
|
* gallium: fix surface/texture format conversion in st_CopyPixelsBrian Paul2008-02-281-5/+35
| | | | | If the src buffer's format isn't supported as a texture format, find a different texture format.
* gallium: added a texture format sanity check/assertion in st_texture_create()Brian Paul2008-02-281-0/+1
| | | | make sure the tex format is actually supported by the driver.
* galliums: s/uint/enum pipe_format/Brian Paul2008-02-281-1/+1
|
* gallium: in GL_SELECT mode, update hitflag in rasterposBrian Paul2008-02-281-0/+5
|
* gallium: State tracker cleanups wrt clears.Keith Whitwell2008-02-281-24/+16
|
* Convert crlf->lf line endings.José Fonseca2008-02-2819-7025/+7025
| | | | Windows/DOS users should enable core.autocrlf from now on.
* gallium: Convert CRLF -> LF.Jose Fonseca2008-02-281-64/+64
| | | | | | | DOS/Windows users should not commit text files with CRLF line endings but use instead git config --global core.autocrlf true
* scons: Build mesa source with c99.José Fonseca2008-02-281-0/+5
|
* gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian2008-02-275-30/+38
| | | | These functions are now per-screen, not per-context.
* gallium: move is_format_supported() to pipe_screen structBrian2008-02-273-23/+30
|
* gallium: start removing pipe_context->get_name/vendor/param/paramfBrian2008-02-273-29/+31
| | | | | These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
* mesa: set input read only on successJerome Glisse2008-02-271-2/+3
|
* mesa: Add copyright headers.José Fonseca2008-02-272-23/+45
|
* gallium: use pipe_texture_reference() instead of pipe->texture_release()Brian2008-02-261-3/+3
|
* gallium: remove pipe parameter from pipe_texture_reference()Brian2008-02-261-3/+3
| | | | | Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
* gallium: #includes to silence warningsBrian2008-02-261-0/+2
|
* gallium: fix zero-sized viewport bugBrian2008-02-261-0/+11
| | | | | | If st_create_framebuffer() is called with width=0, height=0 and the program never called glViewport, the viewport wasn't properly initalized. This fixes that.
* gallium: fix off by one rasterpos bugBrian2008-02-261-1/+1
|
* gallium: remove input_map[] from pipe_shader_stateBrian2008-02-263-2/+5
|
* gallium: Add missing copyright headers.José Fonseca2008-02-262-0/+57
|
* add an explicit callback decleration and use it to silence warningsZack Rusin2008-02-261-6/+6
|