Brian
9509afe97c
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-10-09 12:36:56 -06:00
Zou Nan hai
de803f538c
Non Square Matrix
2007-10-09 15:05:10 +08:00
Zou Nan hai
ae5aa1f906
fix for prev commit
2007-10-09 14:35:28 +08:00
Zou Nan hai
e2dff35f95
INT support
2007-10-09 14:26:01 +08:00
Zou Nan hai
82d4aa4055
shadow sampler fix.
...
1. spec requite result (0, 0, 0, 1) instead of (0, 0, 0, 0)
2. support shadow sampler in simd8
2007-10-09 14:14:59 +08:00
Dave Airlie
8909f1131a
i915: workout max relocs from batch buffer size
2007-10-09 14:36:04 +10:00
Dave Airlie
7e83c15fa0
i915: fixup up bufmgr to pass num buffers to kernel
...
remove unneeded entry points
2007-10-09 12:18:50 +10:00
Sergio Monteiro Basto
4599683b48
i915: Fix undefined ALIGN symbol from 77e0523fb7.
2007-10-08 11:09:38 -07:00
Zou Nan hai
ac985708f4
Only vertex program fix, bypass tnl vertex program
2007-10-08 15:34:03 +08:00
Jerome Glisse
32699696e3
r300: fragprog tex instruction now take writemask into acount.
2007-10-07 22:49:56 +02:00
Patrice Mandin
d85e8b088b
nouveau: move nv10 clear command, for usage by other gpu
2007-10-06 02:30:24 +02:00
Dave Airlie
0ba57d02cd
i915: drop complex list handling for now
...
If this proves a win later we can add it back but at the moment
I don't think it's required yet
2007-10-05 14:41:32 +10:00
Dave Airlie
4611b9398e
i915: clean up lists on teardown
...
also fix a use of uninitialised pointer
2007-10-05 14:33:18 +10:00
Kristian Høgsberg
b42152061c
Add macros to generate CreateNewScreen entrypoint.
2007-10-05 00:12:30 -04:00
Kristian Høgsberg
4a22ae8d44
Remove XIDs from DRI interface (see #5714 ).
2007-10-05 00:09:32 -04:00
Kristian Høgsberg
4ceefccbfa
Pull in the drm hash.
2007-10-05 00:09:23 -04:00
Dave Airlie
4e1c76de0b
i915: add copyrights to new files
2007-10-05 12:15:50 +10:00
Dave Airlie
8e21bb516f
i915: increase batchbuffer back to 16k
2007-10-05 12:12:33 +10:00
Eric Anholt
77e0523fb7
[965] Replace various alignment code with a shared ALIGN() macro.
...
In the process, fix some alignment issues:
- Scratch space allocation was aligned into units of 1KB, while the allocation
wanted units of bytes, so we never allocated enough space for scratch.
- GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of
ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
2007-10-04 12:28:49 -07:00
Eric Anholt
0fc9efd8f0
Replace bmBufferOffset usage in batchbuffer setup with OUT_RELOC.
...
This is in preparation for 965 TTM.
2007-10-04 12:28:49 -07:00
Eric Anholt
6bac9478c3
Replace duplicated intel_reg.h with a shared header.
2007-10-04 12:28:49 -07:00
Eric Anholt
1f7378ee46
Replace some structure-based batch preparation with plain OUT_BATCH.
...
OUT_BATCH is far more amenable to the upcoming relocations being done for TTM
support.
2007-10-04 12:28:48 -07:00
Eric Anholt
ffa94e5b1e
FreeBSD: more /usr/X11R6->/usr/local
2007-10-04 12:28:48 -07:00
Maarten Maathuis
10cc229dc2
nouveau: Replace removed device classes with their proper labels.
2007-10-04 19:08:37 +02:00
Dave Airlie
c4a9a70888
i915: add superioctl support to the ttm codepaths.
...
gears now runs for about 10-15 seconds with some artifacts before falling
over.
2007-10-04 15:31:47 +10:00
Brian
1a69db9d2d
use different temps in exec_tex() for bias
2007-10-03 16:34:04 -06:00
Brian
68c4254d75
updated comments
2007-10-03 16:18:44 -06:00
Brian
635c4c41bd
Add outputs_written bitfield to pipe_shader_state, use it to determine if fragment shader writes Z.
2007-10-03 14:43:57 -06:00
Roland Scheidegger
db0f050582
minor fog calc cleanup
2007-10-03 22:20:44 +02:00
Brian
65996f27f4
Move XSTDCALL definition to p_compiler.h
2007-10-03 13:50:12 -06:00
Brian
5356ba250c
handle frag progs that write Z
2007-10-03 13:50:11 -06:00
Brian
a9f0330061
basic support for reading GL_DEPTH_COMPONENT
2007-10-03 13:50:11 -06:00
Brian
e6f4af6b23
added s8z24_get_tile()
2007-10-03 13:50:11 -06:00
Brian
76e61556e7
fix eq/neq bugs
2007-10-03 13:50:11 -06:00
Brian
df235f33a6
fix f/u mix-up in micro_trunc()
2007-10-03 13:50:11 -06:00
Brian
1a18ebc6b3
move TEX code into exec_tex()
2007-10-03 13:50:11 -06:00
Michel Dänzer
e9df20c2fa
Some minor cleanups.
2007-10-03 20:37:59 +02:00
Michel Dänzer
86a03e43ce
Double amount of memory allocated for generated shader code.
...
The code generated for the glxgears vertex shader didn't fit, causing a crash.
2007-10-03 20:35:19 +02:00
Michel Dänzer
344464bf2e
Track fragment and vertex shader code generation via pipe shader state objects.
...
Unfortunately, the generated fragment shader code is effectively unusable until
it handles quad->mask.
2007-10-03 20:33:23 +02:00
Michel Dänzer
ce765a7fb7
intel_winsys: Adapt to DRM changes (again).
...
It was decided after all to stick to 'pipes' here, even though the actual
meaning is now 'planes'.
2007-10-03 18:39:39 +02:00
Zack Rusin
07cd46d111
In vertex shaders also expect the template to be stack allocated
...
structure so allocate a private copy of it.
2007-10-03 12:01:18 -04:00
Zack Rusin
b46926c4be
Unify the definitions of the 4 component dot product into one
...
location.
2007-10-03 10:33:38 -04:00
Zack Rusin
cdd38d487a
Unify handling of userplanes and regular planes to simplify
...
the clipping code.
(really done by Keith)
2007-10-03 10:33:38 -04:00
Zack Rusin
a7e997cfc5
Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAM
...
which is being hit all the time. Done by Keith really.
2007-10-03 10:33:38 -04:00
Jouk
b263435a98
Update of OpenVMS makefiles for the use of "new" include file convention
2007-10-03 15:21:40 +02:00
Zack Rusin
5e4309ee92
Explain a little better what we're doing here.
2007-10-03 08:50:27 -04:00
Zack Rusin
51345cb3c4
Make softpipe behave more like a real driver by always allocating something
...
in the state functions.
2007-10-03 08:47:36 -04:00
Michel Dänzer
58cdd1dc52
i915: Only align texture pitch to 64 bytes when textures can be render targets.
2007-10-03 11:25:59 +02:00
Michel Dänzer
1bc84102ad
i915: Work around texture pitch related performance drops on i915 at least.
2007-10-03 11:06:48 +02:00
Dave Airlie
fa031c8914
i915: add superioctl initial support inside bufmgr ttm
2007-10-03 16:54:59 +10:00