Brian Paul
542d6cb1b8
gallivm: added some comments
15 years ago
John Doe
40181aef60
r600g: keep a mapping around for each bo
Save a lot of call into the kernel and thus improve performances.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
15 years ago
John Doe
dde1391cc9
r600g: don't double count dirty block
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
15 years ago
Jerome Glisse
113f1cdfce
evergreeng: avoid overlapping border color btw VS & PS
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
15 years ago
Eric Anholt
c6960e4471
i965: Fix new FS handling of builtin uniforms with packed scalars in structs.
We were pointing each element at the .x channel of the
ParameterValues.
Fixes glsl1-linear fog.
15 years ago
Eric Anholt
a7cddd7de3
mesa: Don't reference a W component in setting up a vec3 uniform component.
The 965 driver would try to set up storage for the W component, and
the offsets would get mixed up.
15 years ago
Eric Anholt
6f6542a483
i965: Fix whole-structure/array assignment in new FS.
We need to walk the type tree to get the right register types for
structure components. Fixes glsl-fs-statevar-call.
15 years ago
Tom Fogal
3661f757ee
Revert "Prefer intrinsics to handrolled atomic ops."
This reverts commit 5f66b340aa49c6bc8d0acb2d1a6f8e9a7ef2cb2e, quickly
fixing 30514.
15 years ago
Jerome Glisse
9d4ae914e2
r600g: fix constant & literal src splitting, also fix mplayer gl2 shader
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
15 years ago
Tom Fogal
5f66b340aa
Prefer intrinsics to handrolled atomic ops.
15 years ago
Tom Fogal
76a60faf52
Implement x86_64 atomics for compilers w/o intrinsics.
Really old gcc's (3.3, at least) don't have support for the
intrinsics we need. This implements a fallback for that case.
15 years ago
Adam Jackson
0c86e1f294
i965: Update renderer strings for sandybridge
Signed-off-by: Adam Jackson <ajax@redhat.com>
15 years ago
Jerome Glisse
153105cfbf
r600g: use constant buffer instead of register for constant
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
15 years ago
Brian Paul
874f3a57ce
gallivm: check for level=0 case in lp_build_minify()
This lets us avoid the shift and max() operations.
15 years ago
José Fonseca
4e6f5e8d43
gallivm: More comprehensive border usage logic.
15 years ago
Chia-I Wu
e2b51b7c5b
st/egl: Drop context argument from egl_g3d_get_egl_image.
Fix a regression since 17eace581d
.
15 years ago
Nicolas Kaiser
4160d947d2
st: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
bad10b961a
math: remove duplicated includes
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
9674929bce
main: remove duplicated includes
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
8c92a80b62
dri/savage: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
1663e6da2f
dri/radeon: remove duplicated includes
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
a7670be8a1
dri/r600: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
223c4b4188
dri/r300: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
705d98deb8
dri/r128: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
f094b35207
dri/mga: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
1a98a46304
dri/intel: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
c24144f41f
dri/i965: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
f831212eab
dri/i915: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
b958dabe16
dri/i810: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
c24e062fdb
dri/common: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
7eed3dba58
glx: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
3f28dbd9bb
gallium/winsys: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
218d973786
gallium/st: remove duplicated includes
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
6f136094f4
gallium/softpipe: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
d2149f6f22
gallium/llvmpipe: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
3e472bee2d
gallium/i915: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
b719c91c82
gallium/util: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
237fa8a81c
gallium/rtasm: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
3b7b1db661
egl: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Nicolas Kaiser
7d0b89fda0
swrast: remove duplicated include
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
15 years ago
Francisco Jerez
065163bcd2
dri/nv10: Use fast Z clears.
15 years ago
Francisco Jerez
bdd19da218
dri/nouveau: Remove unnecessary flush.
15 years ago
Francisco Jerez
6f39280ba9
dri/nouveau: Have a smaller amount of larger scratch buffers.
Larger VBOs avoid many kernel trips to get them in sync with the GPU.
15 years ago
Chia-I Wu
ebeb4a7e8a
mapi: Fix compiler warnings.
Do not use "void *" in arithmetics.
15 years ago
Chia-I Wu
d63b2622f1
st/egl: Skip single-buffered configs in EGL.
Let DRI2 report single-buffered configs and skip them in EGL. This is
based on the patch by Luca Barbieri.
15 years ago
Chia-I Wu
6b2f1561ad
egl: Check extensions.
Do not call into the driver if the extension for the called function is
not enabled.
15 years ago
Zhenyu Wang
72b368ae69
i965: always set tiling for fbo depth buffer on sandybridge
Sandybridge requires depth buffer must be tiling.
Fix 'fbo_firecube' demo.
15 years ago
Marek Olšák
83278d384e
r300g: fix conditional rendering in non-wait path
NOTE: This is a candidate for the 7.9 branch.
15 years ago
Eric Anholt
ad1506c5ac
i965: Remove my "safety counter" code from loops.
I've screwed this up enough times that I don't think it's worth it.
This time, it was that I was doing it once per top-level body
instruction instead of just once at the end of the loop body.
15 years ago
Eric Anholt
b90c7d1713
i965: Add live interval analysis and hook it up to the register allocator.
Fixes 13 piglit cases that failed at register allocation before.
15 years ago