Jakob Bornecrantz
77c329a277
pipebuffer: Silence out of heap space debug print
2009-06-08 19:54:55 +02:00
Brian Paul
854151ba62
glsl: preprocessor debug code (disabled)
2009-06-08 10:58:04 -06:00
Brian Paul
cc26e27746
docs: document MESA_EXTENSION_OVERRIDE env var
2009-06-08 10:56:51 -06:00
Brian Paul
f9c0ce0e07
softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0
...
Note that this doesn't have any real significance since
PIPE_CAP_ANISOTROPIC_FILTER still returns 0.
2009-06-08 10:55:34 -06:00
Brian Paul
a6f2663616
mesa: new MESA_EXTENSION_OVERRIDE env var
...
Can be used to enable/disable extensions as reported by
glGetString(GL_EXTENSIONS).
If a name is preceeded by '-' it's disabled. Otherwise, the named
extension is enabled.
Intended for debug/test purposes.
2009-06-08 10:52:16 -06:00
Brian Paul
b6753adbc7
st/mesa: remove invalid assertion
...
It's legal for ARB_vertex_program programs to not write to result.position.
The results are undefined in that case. This assertion was causing us to
abort/exit though.
2009-06-08 10:46:46 -06:00
José Fonseca
e09f78d8dc
mesa: Use matching signedness for the counter as upper bound.
2009-06-08 16:56:41 +01:00
José Fonseca
42678dba94
mesa: Allocate tokens from the heap.
...
The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on
windows.
Failure to allocate is not being propagated to the caller. This is not
a regression since the previous _mesa_malloc result wasn't being
checked as well. Unfortunately it is not easy to fix, as the callers of
these functions do not have failure propagation mechanism either, and
so on. So leaving a just fixme note for now.
2009-06-08 16:56:41 +01:00
Brian Paul
33d6327770
mesa: better error message for invalid texture unit index
2009-06-08 09:53:00 -06:00
Brian Paul
0bced6a326
mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256
...
Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
2009-06-08 09:53:00 -06:00
Keith Whitwell
0d3c8fbf12
mesa/vbo: drop all references to vbo on destroy
...
We were adding references to the input arrays, but failing to drop
them on destruction. This could lead to a 64kb buffer being leaked
each context destruction.
2009-06-08 16:27:43 +01:00
Brian Paul
fce4ee12a6
mesa: EXT_vertex_array_bgra fixes
...
1) Pass the correct format when calling update_array in
_mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
false in glVertexAttribPointerARB
(cherry picked from commit 4adb190a16 )
2009-06-08 07:25:24 -06:00
Maciej Cencora
4adb190a16
mesa: EXT_vertex_array_bgra fixes
...
1) Pass the correct format when calling update_array in
_mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
false in glVertexAttribPointerARB
2009-06-08 07:23:56 -06:00
Jakob Bornecrantz
8d2324d355
trace/rbug: Sleep on windows when blocked
2009-06-08 15:01:48 +02:00
Jakob Bornecrantz
4d9d0e6230
stw: If stfb not set don't call into mesa
2009-06-08 14:45:56 +02:00
Jakob Bornecrantz
283e84bfb3
progs/tests: Add some scissor tests
2009-06-08 14:45:40 +02:00
José Fonseca
78dad27564
Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."
...
This reverts commit fc7f924782 .
2009-06-08 11:13:41 +01:00
Dave Airlie
8064a517b2
llvm: fix compile on gcc 4.4
2009-06-08 18:26:27 +10:00
Maciej Cencora
db63f63897
r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424
...
Fixes GPU hangs in software TCL path
2009-06-08 07:21:14 +10:00
Ben Skeggs
1a7739ae26
nouveau: forgotten makefile...
2009-06-07 19:29:29 +10:00
Dave Airlie
545e574cd9
Merge remote branch 'origin/master' into radeon-rewrite
2009-06-07 16:51:32 +10:00
Michel Dänzer
e2aedfa620
r300: Endianness fixes for recent vertex path changes.
...
Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2009-06-07 16:40:09 +10:00
Maciej Cencora
58982f8af1
r300: vertex array stride = 0 means that data are tightly packed in the array
2009-06-07 16:40:04 +10:00
Maciej Cencora
ca13937ef9
r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW accelerated
...
Also when index format is GL_UBYTE, convert it to GL_USHORT not GL_UINT.
Fix license header too.
Reported by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-06-07 16:39:58 +10:00
Maciej Cencora
a8c7c96be7
r300: remove unused code
2009-06-07 16:39:54 +10:00
Maciej Cencora
72c78b9992
r300: rewrite vertex setup for software T&L path using functions from software TCL path
2009-06-07 16:39:47 +10:00
Maciej Cencora
6cd0628f9f
r300: prepare for some code duplication removal
2009-06-07 16:39:43 +10:00
Maciej Cencora
365799caea
r300: enable EXT_vertex_array_bgra extensions
2009-06-07 16:39:39 +10:00
Maciej Cencora
fd80128e15
r300: add hw accelerated support for different vertex data formats
2009-06-07 16:39:33 +10:00
Maciej Cencora
e98082997c
r300: prepare for different vertex data type support
2009-06-07 16:39:28 +10:00
Maciej Cencora
a27b689d08
r300: fixup vertex attributes ordering
...
Always allocate the vertex program input registers in the same order as the vertex attributes are passed in vertex arrays.
2009-06-07 16:39:23 +10:00
Maciej Cencora
ab60a44331
r300: always pass 4 color components to RS unit
...
Even if we don't pass all 4 color components to vertex shader unit, the vertex program can generate the missing components.
2009-06-07 16:39:16 +10:00
Ben Skeggs
f1edfa09ea
nv50: fix multi-texturing
2009-06-06 16:24:09 +10:00
Ben Skeggs
6c1627a51c
nv50: support non-normalized texture coords
2009-06-06 16:24:08 +10:00
Brian Paul
cfff2a6189
mesa: bump version to 7.5-rc3
2009-06-05 17:16:47 -06:00
Corbin Simpson
b7aa5b1d10
r300-gallium: Use VAP_CLIP_CNTL.
...
Makes tri-userclip work with HW TCL.
2009-06-05 13:46:59 -07:00
Corbin Simpson
1a359d9835
r300-gallium: Emit UCP.
2009-06-05 11:21:09 -07:00
Corbin Simpson
9e4590dff7
r300-gallium: Improve vs emit.
2009-06-05 10:18:20 -07:00
Michal Krol
4c034441a8
mesa: Fix wglext.h prototypes.
2009-06-05 15:01:08 +02:00
Ben Skeggs
d06e380e02
nv50: use larger tile sizes
2009-06-05 22:53:24 +10:00
Ben Skeggs
a471497345
nv50: use nouveau_bo for query buffers
2009-06-05 22:53:24 +10:00
Ben Skeggs
1a92c71a66
nv50: create textures with nouveau_bo, for flexibility with tiling later
2009-06-05 22:53:23 +10:00
Michal Krol
b04470b0bc
util: Fix winsock include.
2009-06-05 14:32:31 +02:00
Corbin Simpson
90bfff0a29
r300-gallium: Mute some debug info.
...
Most of it is no longer interesting.
2009-06-05 00:12:26 -07:00
Corbin Simpson
4c66c5bf92
r300-gallium: vs: Fix negation calculation.
...
Still doesn't draw right, but at least it's the right numbers now.
Thanks to taiu in #dri-devel.
2009-06-04 23:56:32 -07:00
Corbin Simpson
571b36831b
r300-gallium: Fix pasta.
...
Trivial but annoying.
2009-06-04 23:56:08 -07:00
Corbin Simpson
8652ad6899
r300-gallium: Improve vs debug more.
...
Still not showing me why my stuff's failing, but getting there.
2009-06-04 23:27:46 -07:00
Corbin Simpson
31609acbe9
r300-gallium: vs: Add negation, SUB.
...
Doesn't work. WTF.
2009-06-04 23:27:46 -07:00
Corbin Simpson
fb7d1fb0f0
r300: Moar vs debug.
2009-06-04 23:27:46 -07:00
Ben Skeggs
36705ee044
nouveau: plug in our map_buffer_range and friends
2009-06-05 14:48:45 +10:00