summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-01r600g: fix evergreen draw-buffersDave Airlie
just a typo in the register headers.
2010-10-01r600g: add cb flushing for extra buffers + depth buffer on r600/evergreenDave Airlie
2010-10-01r600g: sync vertex/texture cache on resources on evergreenDave Airlie
this gets rid of lots of the instability on evergreen, which isn't surprising since it really broken not to flush caches.
2010-10-01r600g: fixup vertex format picking.Dave Airlie
there are some vertex formats defined in r600c not in the docs.
2010-10-01r600g: add assembler support for other vtx fetch fields.Dave Airlie
this shouldn't change behaviour, just push the choice of what to do out to the shader.
2010-09-30i965: Split the gen4 and gen5 sampler handling apart.Eric Anholt
Trying to track the insanity of the different argument layouts for normal/shadow crossed with normal/lod/bias one generation at a time is enough. Fixes: glsl1-texture2D() with bias. (first test passing in this code that doesn't pass without it!)
2010-09-30i965: Use the lowering pass for texture projection.Eric Anholt
We should end up with the same code, but anyone else with this issue could share the handling (which I got wrong for shadow comparisons in the driver before).
2010-09-30glsl: Add a lowering pass for texture projection.Eric Anholt
2010-10-01r600g: realign evergreen code with r600 code.Dave Airlie
fixes segfault in depth-tex-modes-glsl and OA startup.
2010-09-30r600c: add reloc for CB_COLOR0_ATTRIBAlex Deucher
We'll need a reloc for tiling eventually, so add it now.
2010-10-01r600g: add reloc for evergreen color attribDave Airlie
we'll need this for color tiling on evergreen.
2010-10-01r600g: drop depth quirk on evergreenDave Airlie
none of the EG cards need the quirk.
2010-10-01r600g: add winsys support for CTL constants.Dave Airlie
These need to be emitted, we also need them to do proper vtx start, instead of abusing index offset.
2010-10-01r600g: fix evergreen depth flushing.Dave Airlie
although evergreen can apparantly sample direct from 24-bit, just make it work with the current method for now.
2010-10-01r600g: use Elements macro instead of manual sizeofsDave Airlie
2010-09-30draw: check for null sampler pointersBrian Paul
http://bugs.freedesktop.org/show_bug.cgi?id=30516
2010-09-30gallivm: added some commentsBrian Paul
2010-09-30r600g: keep a mapping around for each boJohn Doe
Save a lot of call into the kernel and thus improve performances. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30r600g: don't double count dirty blockJohn Doe
This avoid to overcount the number of dwords we need and thus avoid maximazation of cs buffer use. Signed-off-by: Jerome Glisse <jglisse@redhat.com
2010-09-30evergreeng: avoid overlapping border color btw VS & PSJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30i965: Fix new FS handling of builtin uniforms with packed scalars in structs.Eric Anholt
We were pointing each element at the .x channel of the ParameterValues. Fixes glsl1-linear fog.
2010-09-30mesa: Don't reference a W component in setting up a vec3 uniform component.Eric Anholt
The 965 driver would try to set up storage for the W component, and the offsets would get mixed up.
2010-09-30i965: Fix whole-structure/array assignment in new FS.Eric Anholt
We need to walk the type tree to get the right register types for structure components. Fixes glsl-fs-statevar-call.
2010-09-30Revert "Prefer intrinsics to handrolled atomic ops."Tom Fogal
This reverts commit 5f66b340aa49c6bc8d0acb2d1a6f8e9a7ef2cb2e, quickly fixing 30514.
2010-09-30r600g: fix constant & literal src splitting, also fix mplayer gl2 shaderJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30Prefer intrinsics to handrolled atomic ops.Tom Fogal
2010-09-30Implement x86_64 atomics for compilers w/o intrinsics.Tom Fogal
Really old gcc's (3.3, at least) don't have support for the intrinsics we need. This implements a fallback for that case.
2010-09-30i965: Update renderer strings for sandybridgeAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-09-30r600g: use constant buffer instead of register for constantJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30gallivm: check for level=0 case in lp_build_minify()Brian Paul
This lets us avoid the shift and max() operations.
2010-09-30gallivm: More comprehensive border usage logic.José Fonseca
2010-09-30st/egl: Drop context argument from egl_g3d_get_egl_image.Chia-I Wu
Fix a regression since 17eace581d25a626a7d75d9d1205d012cbb14a6e.
2010-09-30st: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30math: remove duplicated includesNicolas Kaiser
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30main: remove duplicated includesNicolas Kaiser
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/savage: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/radeon: remove duplicated includesNicolas Kaiser
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/r600: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/r300: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/r128: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/mga: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/intel: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/i965: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/i915: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/i810: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30dri/common: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30glx: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30gallium/winsys: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30gallium/st: remove duplicated includesNicolas Kaiser
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30gallium/softpipe: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>