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>
2010-09-30 17:53:36 -04:00
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
2010-09-30 17:38:18 -04:00
Jerome Glisse
113f1cdfce
evergreeng: avoid overlapping border color btw VS & PS
...
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30 17:07:28 -04:00
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.
2010-09-30 13:45:42 -07:00
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.
2010-09-30 13:45:42 -07:00
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.
2010-09-30 13:45:42 -07:00
Tom Fogal
3661f757ee
Revert "Prefer intrinsics to handrolled atomic ops."
...
This reverts commit 5f66b340aa , quickly
fixing 30514.
2010-09-30 14:41:53 -06:00
Jerome Glisse
9d4ae914e2
r600g: fix constant & literal src splitting, also fix mplayer gl2 shader
...
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30 16:33:12 -04:00
Tom Fogal
5f66b340aa
Prefer intrinsics to handrolled atomic ops.
2010-09-30 13:20:57 -06:00
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.
2010-09-30 13:20:51 -06:00
Adam Jackson
0c86e1f294
i965: Update renderer strings for sandybridge
...
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-09-30 14:08:35 -04:00
Jerome Glisse
153105cfbf
r600g: use constant buffer instead of register for constant
...
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-30 13:47:29 -04:00
Brian Paul
874f3a57ce
gallivm: check for level=0 case in lp_build_minify()
...
This lets us avoid the shift and max() operations.
2010-09-30 10:53:30 -06:00
José Fonseca
4e6f5e8d43
gallivm: More comprehensive border usage logic.
2010-09-30 17:42:01 +01:00
Chia-I Wu
e2b51b7c5b
st/egl: Drop context argument from egl_g3d_get_egl_image.
...
Fix a regression since 17eace581d .
2010-09-30 23:45:27 +08:00
Nicolas Kaiser
4160d947d2
st: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:31 -06:00
Nicolas Kaiser
bad10b961a
math: remove duplicated includes
...
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:31 -06:00
Nicolas Kaiser
9674929bce
main: remove duplicated includes
...
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:31 -06:00
Nicolas Kaiser
8c92a80b62
dri/savage: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:30 -06:00
Nicolas Kaiser
1663e6da2f
dri/radeon: remove duplicated includes
...
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:30 -06:00
Nicolas Kaiser
a7670be8a1
dri/r600: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:30 -06:00
Nicolas Kaiser
223c4b4188
dri/r300: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:30 -06:00
Nicolas Kaiser
705d98deb8
dri/r128: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:29 -06:00
Nicolas Kaiser
f094b35207
dri/mga: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:29 -06:00
Nicolas Kaiser
1a98a46304
dri/intel: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:29 -06:00
Nicolas Kaiser
c24144f41f
dri/i965: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:24 -06:00
Nicolas Kaiser
f831212eab
dri/i915: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:24 -06:00
Nicolas Kaiser
b958dabe16
dri/i810: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:24 -06:00
Nicolas Kaiser
c24e062fdb
dri/common: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:24 -06:00
Nicolas Kaiser
7eed3dba58
glx: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:23 -06:00
Nicolas Kaiser
3f28dbd9bb
gallium/winsys: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:23 -06:00
Nicolas Kaiser
218d973786
gallium/st: remove duplicated includes
...
Remove duplicated includes.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:23 -06:00
Nicolas Kaiser
6f136094f4
gallium/softpipe: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:23 -06:00
Nicolas Kaiser
d2149f6f22
gallium/llvmpipe: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:23 -06:00
Nicolas Kaiser
3e472bee2d
gallium/i915: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:22 -06:00
Nicolas Kaiser
b719c91c82
gallium/util: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:21 -06:00
Nicolas Kaiser
237fa8a81c
gallium/rtasm: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:21 -06:00
Nicolas Kaiser
3b7b1db661
egl: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:21 -06:00
Nicolas Kaiser
7d0b89fda0
swrast: remove duplicated include
...
Remove duplicated include.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-30 09:36:20 -06:00
Francisco Jerez
065163bcd2
dri/nv10: Use fast Z clears.
2010-09-30 16:48:28 +02:00
Francisco Jerez
bdd19da218
dri/nouveau: Remove unnecessary flush.
2010-09-30 16:48:20 +02:00
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.
2010-09-30 16:46:46 +02:00
Chia-I Wu
ebeb4a7e8a
mapi: Fix compiler warnings.
...
Do not use "void *" in arithmetics.
2010-09-30 17:09:59 +08:00
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.
2010-09-30 17:04:56 +08:00
Chia-I Wu
6b2f1561ad
egl: Check extensions.
...
Do not call into the driver if the extension for the called function is
not enabled.
2010-09-30 16:55:07 +08:00
Zhenyu Wang
72b368ae69
i965: always set tiling for fbo depth buffer on sandybridge
...
Sandybridge requires depth buffer must be tiling.
Fix 'fbo_firecube' demo.
2010-09-30 10:51:26 +08:00
Marek Olšák
83278d384e
r300g: fix conditional rendering in non-wait path
...
NOTE: This is a candidate for the 7.9 branch.
2010-09-30 02:44:30 +02:00
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.
2010-09-29 16:40:31 -07:00
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.
2010-09-29 16:40:31 -07:00
Eric Anholt
e1261d3c49
i965: First cut at register allocation using graph coloring.
...
The interference is totally bogus (maximal), so this is equivalent to
our trivial register assignment before. As in, passes the same set of
piglit tests.
2010-09-29 16:40:31 -07:00