summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-09-06Merge branch 'master' into r300-compilerNicolai Hähnle
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c
2009-09-06r300/compiler: New dataflow structures and passesNicolai Hähnle
This replaces the old NQSSADCE code with the same functionality, but quite different design. Instead of doing a single integerated pass, we now build explicit data structures representing the dataflow. This will enable analysis of flow control instruction, and could potentially open an avenue for several dataflow based optimizations, such as peephole optimization, fusing MUL+ADD to MAD, and so on.
2009-09-05r300g: update the value of register VAP_VF_MAX_VTX_INDXCooper Yuan
according to actual vertex index count.
2009-09-05r300g: update rs_block state after changing rasterizerCooper Yuan
2009-09-05r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan
2009-09-04r600: add support for EXT_texture_sRGBAlex Deucher
2009-09-04r300: Add support for GL_EXT_provoking_vertexAlex Deucher
2009-09-04r600: Add support for GL_EXT_provoking_vertexAlex Deucher
2009-09-04i965: Don't set the complete field when there is more VUE yet to come.Eric Anholt
This should help with things like lightsmark, but I don't have a testcase for this commit.
2009-09-04i965: Add support for 2 threads in the GS.Eric Anholt
This brings noop vertex shader throughput from 6.8M verts/sec to 10.4M verts/sec using GL_QUADs on my GM45.
2009-09-04i965: Add support for KIL_NV in brw_wm_emit.cEric Anholt
I ran into this lack of support when writing a shader that always discarded the fragments.
2009-09-04r600: fix Elts handlingAlex Deucher
Patch from taiu on IRC. fixes bug 23585
2009-09-04ARB prog: replace 'unsigned' with 'gl_state_index'Brian Paul
Fixes compilation warnings with MSVC.
2009-09-04ARB prog: rename POINT, SIZE to POINT_TOK, SIZE_TOKBrian Paul
Fixes symbol collisions with typedefs in Microsoft headers. Perhaps we should prefix/suffix all the lexer tokens to avoid this.
2009-09-04gallium/xlib: minor clean-upsBrian Paul
2009-09-04i915g: Fix warnings in scons build by using byte pointersJakob Bornecrantz
scons build complained about void pointer math
2009-09-04tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP.Michal Krol
2009-09-03gallium/xlib: silence unitialized var warningBrian Paul
2009-09-03gallium/xlib: silence uninitialized var warningBrian Paul
2009-09-03st/mesa: silence uninitialized var warningsBrian Paul
2009-09-03st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted positionBrian Paul
If the renderbuffer orientation is Y=0=TOP we need to invert the dstY position.
2009-09-03st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardwareKeith Whitwell
State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches.
2009-09-03util: add version of u_blit_pixels which takes a writemaskKeith Whitwell
Values outside the writemask are set in the destination to {0,0,0,1}
2009-09-03r600: rework cb/db setupAlex Deucher
Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658.
2009-09-03st/xorg: add linear and radial gradient accelerationZack Rusin
2009-09-03st/xorg: radial gradient shaderZack Rusin
2009-09-03st/xorg: linear gradient shaderZack Rusin
2009-09-03r600: make sure the active vertex shader bo is re-added to persistent list.Alex Deucher
2009-09-03glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync()Brian Paul
2009-09-03mesa: rename gl_sync_object::Status to StatusFlagBrian Paul
There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this.
2009-09-03Add ARB_sync to the xorg sw dri driver.Eric Anholt
2009-09-03savage: Fix driver build post-ARB_sync.Eric Anholt
Like s3v, clean up absurd use of Xlib in the driver, avoiding namespace pollution.
2009-09-03s3v: Fix driver build for ARB_sync.Eric Anholt
This driver was including Xlibint.h to get the CARD32 typedef to use for 32-bit unsigned integers, which #defined Status to something. CARD32 isn't actually a 32-bit unsigned integer, so replacing with uint32_t usage should fix bugs on 64-bit along with the build.
2009-09-03intel: Add support for ARB_sync.Eric Anholt
We currently weasel out of supporting the timeout parameter, but otherwise this extension looks ready, and should make the common case happy.
2009-09-03ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops.Ian Romanick
2009-09-03Don't dereference function pointers in calls.Ian Romanick
I'm apparently alone in prefering this calling convention, so I'll be a team player. :p Based on review comments by Brian Paul and Eric Anholt.
2009-09-03Add syncobj.c to SConscriptIan Romanick
2009-09-03Whitespace and include file clean-up.Ian Romanick
Based on review comments by Brian Paul.
2009-09-03Use MIN2 instead of open-coded versionIan Romanick
Based on review comments by Brian Paul.
2009-09-03ARB sync: Fix delete behavior and context destruction behaviorIan Romanick
I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared.
2009-09-03Add dummy list node type 'struct simple_node'Ian Romanick
2009-09-03ARB sync: Add support for GL_ARB_sync to swrastIan Romanick
This isn't quite right yet. The delete behavior and the context clean-up needs some work.
2009-09-03Eliminate trailing whitespace in extension_helper.cIan Romanick
2009-09-03ARB sync: Regenerate files from previous commitIan Romanick
2009-09-03ARB sync: Add base infrastructure for GL_ARB_syncIan Romanick
2009-09-03ARB sync: Add infrastructure for glGetInteger64vIan Romanick
2009-09-03mesa: fix typos in separable filter functionsBrian Paul
2009-09-03mesa: compute tex env program key size based on nr_enabled_unitsBrian Paul
When no textures are enabled, the key size is 4 bytes. If unit[0] is enabled, the key size is 16 bytes. Inspired by a patch from Chris Wilson.
2009-09-03swrast: wrap comment to 80 columns, remove dead codeBrian Paul
2009-09-03mesa: use new combined PBO validate/map helpers in convolution/filter funcsBrian Paul