summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-23i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.Eric Anholt
Previously, we would sample (f,glFrontFacing,undef,undef) instead of the (f,0,0,1) that fragment.fogcoord is supposed to return. Due to glFrontFacing's presence in FOGC.y, we'll still give bad results there when glFrontFacing is used. Bug #19122, piglit testcase fp-fog.
2009-03-23i965: Clean up a bit of mess with unneeded variables in emit_interp.Eric Anholt
2009-03-23i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS.Eric Anholt
2009-03-23i965: Fix occlusion query when no other WM state updates occur.Eric Anholt
Turns out that XXX comment was important. We weren't flagging the WM to re-update with the statistics enable, so we got zeroes out of our query. Bug #20740, fixes piglit occlusion_query test. Signed-off-by: Eric Anholt <eric@anholt.net>
2009-03-23draw: update aa points shader commentKeith Whitwell
2009-03-23gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer
2009-03-22debug: Add function for writing transfers to filesJakob Bornecrantz
2009-03-22trace: Fix args to buffer writeJakob Bornecrantz
2009-03-23util: Add a new macro for testing empty lists.José Fonseca
2009-03-22softpipe: reformatting, comments, minor clean-upsBrian Paul
2009-03-22tgsi: minor commentsBrian Paul
2009-03-21tgsi: Document KIL, KILP instructions.Michal Krol
2009-03-21gallium: remove remaining references to origin_lower_leftKeith Whitwell
2009-03-21st: Silence compiler warnings.Michal Krol
2009-03-20gallium: remove use of origin_lower_leftBrian Paul
This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
2009-03-20mesa: add new internal state var for window sizeBrian Paul
Actually, window width - 1, height - 1
2009-03-20mesa: linear scan register allocation for shader programsBrian Paul
This is a check-point commit; not turned on yet. Use the linear scan register allocation algorithm to re-allocate temporary registers. This is done by computing the live intervals for registers and reallocating temps with that information. For some shaders this dramatically reduces the number of temp registers needed. For the time being we give up on a few cases such as relative-indexed temps and subroutine calls (but we inline most GLSL functions anyway).
2009-03-20r300-gallium: Misspelled macro name.Corbin Simpson
*pulls paper bag down over head*
2009-03-20r300-gallium: Put r300_cs_inlines to bed.Corbin Simpson
Guess it was a mistake in the first place. Oops.
2009-03-20r300-gallium: Simplify/neaten up packet3.Corbin Simpson
Deck chairs on the Hindenburg. :3
2009-03-20r300-gallium: Clean up surface_fill, prep for surface_copy code.Corbin Simpson
2009-03-20r300-gallium: Properly offset scissors.Corbin Simpson
As per r300_reg, classic Mesa, and xf86-video-ati.
2009-03-20r300-gallium: Clean up r300_swtcl_emit.Corbin Simpson
Some compile warnings, some statements without effect.
2009-03-20r300-gallium: Clean up some emit, and some state handlers.Corbin Simpson
2009-03-20r300-gallium: A bit more invariant state.Corbin Simpson
2009-03-20gallium: Explain what happens if buffer_flush_mapped_range isn't called.José Fonseca
2009-03-20gallium/util: add upload manager helper moduleKeith Whitwell
Add a module that will manage uploading and coalescing multiple user-buffers, malloc-buffers and other random data that doesn't happen to be in a GPU buffer already. The module stuffs multiple little uploads into larger GPU buffers to reduce create/destroy overheads, etc.
2009-03-20Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.Eric Anholt
This requires upgrading the interface so that the argument to glXBindTexImageEXT isn't just dropped on the floor. Note that this only fixes the accelerated path on Intel, as Mesa's texture format support is missing x8r8g8b8 support (right now, GL_RGB textures get uploaded as a8r8gb8, but in this case we're not doing the upload so we can't really work around it that way). Fixes bugs with compositors trying to use shaders that use alpha channels, on windows without a valid alpha channel. Bug #19910 and likely others as well. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2009-03-20stw: Do not err on nil context handle in MakeCurrent().Michal Krol
2009-03-20stw: Use u_handle_table to maintain context list.Michal Krol
2009-03-20winsys/gdi: Init state tracker's per-thread data.Michal Krol
2009-03-20stw: Keep per-thread storage for current context and pixel format.Michal Krol
2009-03-20slang: Use _mesa_snprintf() wrapper.Michal Krol
2009-03-19slang: initialize the contextAlan Hourihane
2009-03-19slang: support uniform arraysAlan Hourihane
2009-03-19trace: Formalize on a standard for data size pairJakob Bornecrantz
2009-03-19glslcompiler: added new options to override debug/optimization pragmasBrian Paul
2009-03-19glsl: change GLSL #pragma initializationBrian Paul
Initialize the shader's pragma settings before calling the compiler. Added pragma "Ignore" fields to allow overriding the #pragma directives found in shader source code.
2009-03-19egl: fix commentAlan Hourihane
2009-03-19egl: try harder for eglGetProcAddress()Alan Hourihane
2009-03-19glsl: when debug pragma is on, emit comments about function calls/inlinesBrian Paul
BTW, the debug pragma syntax is "#pragma debug(on)"
2009-03-19mesa: check renderbuffer is defined before use.Alan Hourihane
2009-03-19st/gl: Only transfer needed parts in st_TexSubimageJakob Bornecrantz
2009-03-19slang: if/else/break & if/else/continue work for unrolled loopsAlan Hourihane
2009-03-19swrast: Silence compiler warnings, give better structure to the code as a ↵Michal Krol
result.
2009-03-19tgsi: Document vs_2_0 instruction set operations.Michal Krol
2009-03-19tgsi: Document vs_1_1 instruction set operations.Michal Krol
2009-03-19tgsi: Begin documenting ps_2_x instruction set operations.Michal Krol
2009-03-18r300-gallium: Emit viewport state.Corbin Simpson
Note that this will break you, hard, if you're not using RADEON_NO_TCL. I really need to start vertex shaders soon.
2009-03-18r300-gallium: Viewport state storage.Corbin Simpson