Ian Romanick
8010c35852
docs: Import 7.10.1 release notes from 7.10 branch
2011-03-02 14:37:59 -08:00
Ian Romanick
198e9bb5b0
docs: Import 7.9.2 release notes from 7.9 branch
2011-03-02 14:37:59 -08:00
Christoph Bumiller
0c0e996d59
nv50: fix IB index buffer path
...
Add missing VERTEX_END and treat unaligned offsets correctly.
2011-03-02 22:37:56 +01:00
Christoph Bumiller
fa94f8b209
nv50: fix POINT_COORD_REPLACE_MAP method size
...
Introduced in 223d98bb8d .
2011-03-02 21:07:33 +01:00
Christoph Bumiller
47a62b1ca1
nv50: primitive restart trick for vertex data through FIFO mode
...
Also, on nv50 the VERTEX_BEGIN method doesn't follow VERTEX_END,
which was erroneously taken over from nvc0 and is fixed now.
2011-03-02 20:59:54 +01:00
Christoph Bumiller
b8646bc2af
nv50: fix depth clamp for disabled primitive clipping
2011-03-02 20:59:53 +01:00
Christoph Bumiller
ddcb90248f
nv50: implement independent blend functions for nva3+ and fix cap
2011-03-02 20:59:53 +01:00
Christoph Bumiller
669de7016c
nv50: fix tile size calculations
2011-03-02 20:59:53 +01:00
Christoph Bumiller
223d98bb8d
nv50: fix point sprite state validation
...
Wasn't updated if the FP didn't change, and coordinate replacement
wasn't disabled anymore.
2011-03-02 20:59:53 +01:00
Christoph Bumiller
dbdbbce066
nv50: allow accidentally disabled IB index buffers again
...
Must have sneaked in from debugging.
2011-03-02 20:59:53 +01:00
Christoph Bumiller
908013b737
nv50: apply relocations to shader code
...
On nv50, branches are absolute, so we need to adjust them according
to the shader's position in the code buffer.
2011-03-02 20:59:53 +01:00
Christoph Bumiller
040ff18a21
nv50: fix wrong miptree tile flags taken over from nvc0
2011-03-02 20:59:53 +01:00
Benjamin Franzke
4ca075ac4f
egl_dri2 x11: Workaround device_name xcb-dri2 bug
...
This commit is basically a copy-over of the fix
Chia-I Wu's commited to wayland:
http://cgit.freedesktop.org/wayland/wayland-demos/commit/?id=1b6c0ed95
"Workaround an xcb-dri2 bug.
xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken.
It only works when the length of the driver name is a multiple of 4."
2011-03-02 20:41:38 +01:00
Benjamin Franzke
648a16d079
egl/wayland: build subdirs (wayland-drm) before depend
...
Autogenerated files need to be generated first.
2011-03-02 20:17:26 +01:00
Marek Olšák
a6314eb47f
r300g: require DRM 2.3.0 (kernel 2.6.34)
...
Running any older kernel is not recommended anyway.
2011-03-02 17:54:36 +01:00
Marek Olšák
f6dbcb92bf
r300g: do not use ioctl thread offloading on single-core machines
2011-03-02 17:54:36 +01:00
Brian Paul
8ad821df0a
mesa: added gl_program_constants::MaxAddressOffset
...
See https://bugs.freedesktop.org/show_bug.cgi?id=29418
2011-03-02 09:32:47 -07:00
Brian Paul
41208bf047
mesa: increase INST_INDEX_BITS to 12
...
For more info see fd.o bug 29418.
2011-03-02 09:20:59 -07:00
Brian Paul
5f4d0cc6bc
Revert "mesa: reduce calls to _mesa_test_framebuffer_completeness()"
...
This reverts commit 1f9a0a4e6e .
This caused trouble with Lightsmark w/ i965 driver and fbo/fbo-blit-d24s8
(see bug 34894). It's probably something simple but no time to debug now.
2011-03-02 09:11:43 -07:00
Brian Paul
69c6e21ceb
vbo: fix error parameter
...
Spotted by Ian.
2011-03-02 09:10:49 -07:00
Vinson Lee
bbd9616838
r300g: Silence 'control reaches end of non-void function' warning.
...
Fixes this GCC warning.
r300_hyperz.c: In function 'r300_get_hiz_func':
r300_hyperz.c:65: warning: control reaches end of non-void function
2011-03-02 00:43:09 -08:00
Vinson Lee
0f29d394a4
gallium: Add u_format_rgtc.c to SConscript.
2011-03-01 23:02:50 -08:00
Zou Nan hai
f1824905fa
i965: Maxinum the usage of urb space on SNB.
...
SNB has 64k urb space, we only use piece of them.
The more urb space we alloc,
the more concurrent vs threads we can run.
push the urb space usage to the limit.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
2011-03-02 14:23:17 +08:00
Dave Airlie
e8d061fd74
mesa/st: fix softpipe npot compressed mipmaps.
...
this fixes fbo-generatemipmap-formats rgtc and s3tc in NPOT mode
with softpipe.
r600g fails to even get level 0 correct so have to look into that
a bit further.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 16:13:59 +10:00
Dave Airlie
e80bfc8515
softpipe: enable RGTC now that we have u_format support.
2011-03-02 15:30:17 +10:00
Dave Airlie
64f19b90d7
mesa/st: fix generate mipmap for signed compressed formats.
...
This was always converting to 8-bit per channel unsigned formats,
which isn't suitable for RGTC signed formats, this special cases
those two formats and converts to floats for those.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 15:30:17 +10:00
Dave Airlie
8d62b2aca9
gallium: add RGTC UNORM support to u_format.
...
SNORM needs a bit of work in the state tracker in order for mipmap
generation to work I believe.
I'm also not sure that having unorm fetches for an snorm format is
sane.
2011-03-02 15:30:16 +10:00
Dave Airlie
59cae3eee1
rgtc: remove GL types from this file.
...
I'd like to share this file with gallium u_format stuff.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 14:33:35 +10:00
Dave Airlie
531c336fa3
rgtc: move the texel fetch into common unsigned/signed code.
...
This function can be done in the include file also.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 14:16:39 +10:00
Dave Airlie
fb6ecca0a5
rgtc: fix issues with compressor and signed types.
...
With signed types we weren't hitting this test however the comment
stating this doesn't happen often doesn't apply when using signed
types since an all 0 block is quite common which isn't abs min or max.
this fixes the limits correctly again also.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 14:08:59 +10:00
Dave Airlie
521394a204
rgtc: don't try to access off the end of the block.
...
if the values are all in the last dword, the high bits can be 0,
This fixes a valgrind warning I saw when playing with mipmaps.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 13:14:34 +10:00
Dave Airlie
5f714c2aaf
rgtc: move to using ubyte for fetch instead of chan + fix limit
...
My previous fix to the byte max was incorrect.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 13:02:20 +10:00
Marek Olšák
c37e283423
st/mesa: use RGTC for GL_COMPRESSED_RED/RG if possible
...
With proper fallback formats.
2011-03-02 03:46:27 +01:00
Brian Paul
e118fdc9e2
svga: reduce MAX_DMA_SIZE to 4MB
2011-03-01 17:40:27 -07:00
Brian Paul
8731f0363f
vbo: add vbo_always_unmap_buffers()
...
Drivers can call this function as needed. It tells the VBO module to
always unmap the current glBegin/glEnd VBO when we flush. Otherwise
it's possible to be in a flushed state but still have the VBO mapped.
2011-03-01 17:16:53 -07:00
Brian Paul
a2924b488b
vbo: generate GL_INVALID_VALUE for bad glVertexAttrib index
2011-03-01 17:16:02 -07:00
Brian Paul
1c9ca21adb
i915g: remove extra semicolon
2011-03-01 17:09:15 -07:00
Ian Romanick
3ff4974f22
mesa: Revert most of 3158cc7d because it causes other breakage
2011-03-01 15:57:32 -08:00
Marek Olšák
30600e3dab
r300g: accelerate resoure_copy_region for rgtc
2011-03-02 00:54:06 +01:00
Kenneth Graunke
8be58df67a
scons: Use Flex and Bison to generate lexer/parser files.
...
This gets it building again here; I'll leave it up to the SCons
maintainers to make further improvements.
2011-03-01 15:49:29 -08:00
Kenneth Graunke
80ec97af79
glsl: Rename .lpp to .ll and .ypp to .yy.
...
SCons has built-in support for .ll and .yy, but not .lpp and .ypp. Since
there's no real benefit to using the old names, change them.
2011-03-01 15:49:29 -08:00
Dave Airlie
ff0f36f59d
rgtc: fix fetch function limits for signed types
2011-03-02 09:52:53 +10:00
Dave Airlie
8eebd216dd
rgtc: fixup mipmap generation
...
this allows swrast to pass mipmap generation for these formats.
2011-03-02 09:48:40 +10:00
Dave Airlie
01d5d1e80e
swrast/rgtc: fix rendering issues introduced when fix constants
...
The max value was wrong and this showed up in the piglit tests.
2011-03-02 09:41:38 +10:00
Dave Airlie
c7d239c43b
r600g: change the cross over point for 2d->1d
...
this fixes some rendering in the fbo-generatemipmap-formats test on
my rv610.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-02 09:30:24 +10:00
Ian Romanick
3158cc7df8
mesa: Fix build breakage caused by c73e6ce
2011-03-01 15:22:43 -08:00
Benjamin Franzke
6b369c4c7c
egl: Add EGL_WL_bind_wayland_display
2011-03-01 17:23:50 -05:00
Ian Romanick
654adaabc9
Generate lexer and parser files for tarball creation process
2011-03-01 13:43:12 -08:00
Ian Romanick
6dd0a2ed40
Add generated parser / lexer files to gitignore lists
2011-03-01 13:43:12 -08:00
Ian Romanick
1034284596
mesa: Fix some quirkiness of make tarballs
...
Among other benefits, parallel makes now work. Since many people have
parallel builds by default (via MAKEFLAGS environment variable), this
sames some irritation at release time...when there's usually not any
other irritation already.
2011-03-01 13:43:12 -08:00