José Fonseca
5d0e8beaa2
scons: More tweaks to fix MinGW build.
2011-03-03 16:57:38 +00:00
José Fonseca
dbfbb8cf6d
scons: Ensure generated headers are in the include path.
2011-03-03 15:43:18 +00:00
José Fonseca
54d8c5e3c2
scons: Add human friendlier build messages for lex/yacc.
2011-03-03 15:42:58 +00:00
José Fonseca
8987109c27
scons: Always load lex/yacc tool.
...
lex/yacc is not loaded by default when toolchain is not default either,
e.g., when toolchain=crossmingw.
2011-03-03 15:28:36 +00:00
Christoph Bumiller
3bf92a281b
nv50: check grclass instead of chipset for 3D caps
2011-03-03 12:32:40 +01:00
Christoph Bumiller
7048ad62f8
nv50: increase size of shader code bo
...
512 KiB should be quite enough, but dynamic resize might be nicer.
2011-03-03 12:32:40 +01:00
Ben Skeggs
6b4e3e8941
nouveau: allow pipe driver to define which buffers should start in sysmem
...
PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need
to be able to set others on certain chipsets.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-03 15:56:20 +10:00
Zou Nan hai
118ecb1a22
i965: SNB GT1 has only 32k urb and max 128 urb entries.
...
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
2011-03-03 10:30:06 +08:00
Kenneth Graunke
2e756f3d6f
glsl: Remove unused glcpp/Makefile.am.
...
This is a remnant of when glsl2 lived in its own repository.
2011-03-02 15:25:49 -08:00
Kenneth Graunke
8be828c3b3
glsl: Remove 'tests' subfolder.
...
These have long since moved to piglit and aren't useful to have here.
2011-03-02 15:25:49 -08:00
Christian König
8d9ea4c4e7
r600g: correct mega_fetch_count in fetch shader
2011-03-03 00:23:15 +01:00
Zack Rusin
ff2a0faba0
tgsi: defer allocation of huge inputs/outputs until we have a gs
2011-03-02 17:45:22 -05:00
Ian Romanick
d569cc4d44
docs: added news item for 7.9.2 and 7.10.1 releases
2011-03-02 14:37:59 -08:00
Ian Romanick
910820daf4
docs: All links to 7.9.2 and 7.10.1 release notes
2011-03-02 14:37:59 -08:00
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