summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-11-15mesa/st: don't calculate unused vs input semantic tagsKeith Whitwell1-69/+2
2009-11-15nv20: Fix build for the last nouveau_class.h changes.Francisco Jerez1-2/+2
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-11-15nv10: Fix build for the last nouveau_class.h changes.Francisco Jerez2-3/+3
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-11-13i965: Share OPCODE_TXB between brw_wm_emit.c and brw_wm_glsl.cEric Anholt3-101/+63
This should fix TXB on G45 and older in the GLSL case.
2009-11-13i965: Share OPCODE_TEX between brw_wm_emit.c and brw_wm_glsl.c.Eric Anholt3-118/+72
New comments should explain some of the confusion about how this message works.
2009-11-13i965: Clean up emit_tex a bit.Eric Anholt1-27/+24
2009-11-13Merge remote branch 'origin/mesa_7_6_branch'Eric Anholt10-46/+81
2009-11-13i965: Flag BRW_NEW_CONTEXT on some context state.Eric Anholt2-6/+6
Fixing this is a prereq for avoiding flagging all state at new batch time. Eliminating that still causes problems, though (notably glean logicOp fails on my GM965).
2009-11-13intel: Remove some dead context structure fields.Eric Anholt1-2/+0
2009-11-13i965: Remove an unused cache_item field.Eric Anholt3-3/+1
2009-11-13i965: Remove long dead structures for ffvertex_prog.c.Eric Anholt1-17/+0
2009-11-13i965: Use bo_map instead of subdata to upload the bits of constant buffer.Eric Anholt2-2/+26
Saves CPU time, resulting in a 2.5% FPS win on ETQW.
2009-11-13i965: Validate the number of URB entries selected for the VS.Eric Anholt1-4/+33
2009-11-13intel: When subdataing a busy buffer, use a temporary and blit in.Eric Anholt1-3/+16
This cuts a massive number of waits in ET:QW, which uses a VBO ringbuffer. Unfortunately it doesn't BufferData when wrapping back to 0, so we can't be clever with tracking what's been initialized.
2009-11-13i965: Clean up Ironlake sampler type definitions.Eric Anholt3-18/+10
They're the same regardless of execution width for 8, 4x2, and 16.
2009-11-13i965: Avoid moving the current value back into the accumulator for MAD.Eric Anholt1-1/+34
This is a 2.9% (+/-.3%) performance win for my GL demo, which hits MAD sequences for matrix transforms.
2009-11-13mesa: Improve the eliminate-move-use to work across multiple instructions.Eric Anholt1-41/+85
This shaves more instructions off of the VS of my GL demo, but no performance difference this time at n=6. This also fixes a regression that was in this path, which is now piglit's glsl-vs-mov-after-deref.
2009-11-13st/xorg: try to fix non-uniform transformsZack Rusin1-6/+16
2009-11-12intel: Don't check for context pointer to be NULL during extension initIan Romanick1-7/+6
Thanks to Chia-I Wu's changes to the extension function infrastructure, we no longer have to tell the loader which extensions the driver might enable. This means that intelInitExtensions will never be called with a NULL context pointer. Remove all the NULL checks. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2009-11-12intel: Remove unused enable_imaging parameter to intelInitExtensionsIan Romanick3-6/+4
2009-11-12i965: Fix Ironlake shadow comparisons.Eric Anholt1-7/+17
The cube map array index arg is always present.
2009-11-12i965: Fix VBO last-valid-offset setup on Ironlake.Eric Anholt1-10/+3
Instead of doing math based on the (broken for VBO && offset != 0) input->count number, just use the BO size. Fixes assertion failure in ETQW.
2009-11-11st/xorg: use an immediate instead of a full blown constZack Rusin1-3/+3
2009-11-11st/xorg: don't use flow controlZack Rusin1-12/+6
2009-11-11swrast: handle additional Z24 formats in read_depth_pixels()Brian Paul1-5/+18
2009-11-11i965: fix EXT_provoking_vertex supportRoland Scheidegger8-29/+61
This didn't work for quad/quadstrips at all, and for all other primitive types it only worked when they were unclipped. Fix up the former in gs stage (could probably do without these changes and instead set QuadsFollowProvokingVertexConvention to false), and the rest in clip stage.
2009-11-11st/xorg: implement repeatnone and make some code smell less like assZack Rusin4-23/+67
2009-11-11st/xorg: fallback until daddy can implement you properlyZack Rusin1-0/+5
2009-11-11r300, r300g: Add missing registers.Corbin Simpson2-3/+7
2009-11-11dri-st: Add some required GL 2.0 extensions.Corbin Simpson1-0/+3
Two-sided stencil and NPOT textures.
2009-11-10i965: Fix VS constant buffer value loading.Eric Anholt1-1/+11
Previously, we'd load linearly from ParameterValues[0] for the constants, though ParameterValues[1] may not equal ParameterValues[0] + 4. Additionally, the STATE_VAL type paramters didn't get updated. Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations. Bug #23226.
2009-11-10i965: Unalias src/dst registers for SGE and friends.Eric Anholt1-19/+21
Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/ Bug #22228 (cherry picked from commit 56ab92bad8f1d05bc22b8a8471d5aeb663f220de)
2009-11-10i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.Eric Anholt1-1/+1
Fixes piglit arl.vp. (cherry picked from commit d52d78b4bcd6d4c0578f972c0b8ebac09e632196)
2009-11-10st/xorg: Fallback if picture format doesn't match texture formatJakob Bornecrantz2-3/+26
2009-11-10st/xorg: Don't segfault when debug printingJakob Bornecrantz1-3/+3
2009-11-10st/xorg: wrap to border colorZack Rusin1-1/+1
2009-11-10swrast: update renderbuffer format assertionsbrian1-3/+4
2009-11-10mesa: fix some begin/end render-to-texture logicbrian1-21/+38
Before, we weren't aggressive enough in checking for the start or end of render-to-texture. In particular, if only the ctx->ReadBuffer had texture attachments, we were treating that as a render-to-texture case. This fixes a regression from commit 75bdbdd90b15c8704d87ca195a364ff6a42edbb1 "intel: Don't validate in a texture image used as a render target."
2009-11-10mesa: move check_begin/end_texture_render() callsbrian1-9/+11
2009-11-10mesa: new vars: oldDrawFb, oldReadFb in _mesa_BindFramebufferEXT()brian1-3/+7
2009-11-10mesa: rename vars in _mesa_BindFramebufferEXT()brian1-22/+21
2009-11-10mesa: added comment for check_begin_texture_render()brian1-0/+5
2009-11-10st/egl: Probe hardware for depth stencil formatJakob Bornecrantz1-24/+52
2009-11-10st/xorg: cleanup the namingZack Rusin2-22/+24
2009-11-10st/xorg: print ouf the picture formats when compositingZack Rusin1-0/+63
2009-11-10Merge remote branch 'origin/mesa_7_6_branch'Eric Anholt4-9/+78
2009-11-10i965: avoid memsetting all the BRW_WM_MAX_INSN arrays for every compile.Eric Anholt4-4/+23
For an app that's blowing out the state cache, like sauerbraten, the memset of the giant arrays ended up taking 11% of the CPU even when only a "few" of the entries got used. With this, the WM program compile drops back down to 1% of CPU time. Bug #24981 (bisected to BRW_WM_MAX_INSN increase).
2009-11-10i965: Add a note explaining the data cache domain.Eric Anholt1-1/+4
2009-11-10i915g: Fix memory leak when pci id is unknown.Vinson Lee1-0/+1
2009-11-10i965: Unalias src/dst registers for SGE and friends.Eric Anholt1-19/+21
Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/ Bug #22228