Ben Skeggs
aacea52181
nouveau: initial GL_ARB_occlusion_query support
Only enabled on NV40, NV20/NV30 code is untested.. However, NV30
should be identical to NV40.
18 jaren geleden
Ben Skeggs
1879069eab
nouveau: extend notifier interface to allow multiple notifiers in a memory block.
18 jaren geleden
Claudio Ciccani
ea55de3d65
Updated copyright header.
Switched to LGPL (GPL header was a cut-&-paste mistake).
18 jaren geleden
George Sapountzis
c00169fd25
Bug 9628: no entry for GetVertexAttribPointerv
This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to
GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV.
Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch
by Ian Romanick <idr@us.ibm.com> and regenerate.
18 jaren geleden
Brian
d8df84aae1
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 jaren geleden
Brian
1b62353dd8
fix typo
18 jaren geleden
Stephane Marchesin
0931e21eb6
nouveau: more work on nv04, this time buffer format/pitches/...
18 jaren geleden
Brian
99c9bc386f
document, re-indent _mesa_ffsll()
18 jaren geleden
Brian
1d74e565db
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 jaren geleden
Eric Anholt
5a3d985395
Bug #9604: Fix a static buffer allocation failure.
The pool that the static buffer got allocated from was sized by pitch * height,
but the buffer generated from it had its size aligned to a tile boundary, so
allocation failed if pitch * height wasn't aligned. However, the 2d driver
ensures that the size ends at a tile boundary, so just pass the 2d driver's
buffer size rather than calculating it.
18 jaren geleden
Eric Anholt
869b8ad499
Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.
18 jaren geleden
Eric Anholt
dbb54b234c
Remove dead code causing a warning.
18 jaren geleden
George Sapountzis
507167d7e2
Override Const.CheckArrayBounds for Xserver in XMesaCreateContext().
This leaves one last XFree86Server ifdef in Mesa core.
---
Bug 9285: misc glcore, xmesa cleanups
ACKed by Ian Romanick.
19 jaren geleden
George Sapountzis
c9b33ecd7c
Drop old (pre-AIGLX) GLcore interface.
The old GLcore interface was replaced in Xorg 7.1 with the addition of AIGLX,
it is only used by DDX's which are known not to work with the new DIX glx code.
---
Bug 9285: misc glcore, xmesa cleanups
ACKed by Ian Romanick.
19 jaren geleden
Zou Nan hai
c6c65e7b22
Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa
18 jaren geleden
Zou Nan hai
6aa62ba43f
ARB_Occlusion_query should support multiple query at same time
18 jaren geleden
Ben Skeggs
d5db167c2c
nouveau: unbreak NOUVEAU_RING_DEBUG
18 jaren geleden
Ben Skeggs
86996dfe32
nouveau: add result scaling to shader backend, use it in RSQ emul for NV40.
18 jaren geleden
Ben Skeggs
2d7687865e
nouveau: and here's the "oops, I suck" commit :)
18 jaren geleden
Ben Skeggs
42bd32dad7
nouveau: some extra debug output
18 jaren geleden
Zou Nan hai
844e5610de
965 glxswapcontrol fix
18 jaren geleden
Zou Nan hai
bdc5394d22
965 ARB_Occlusion_query fix
18 jaren geleden
Brian
7e85b0a025
silence C++ warnings
18 jaren geleden
Brian
18d1fdebeb
fixes for C++ warnings/errors
18 jaren geleden
Thomas Hellstrom
d46093b8d5
i915tex: Relocation fixes:
Increase the number of allowed relocations per batchbuffer.
Fix an assert to avoid an array index overflow.
(Reported by Steve Wilkins)
18 jaren geleden
Thomas Hellstrom
fe9fef2cec
i915tex: Fix randr resizing. Rotation still broken.
18 jaren geleden
Ben Skeggs
60c28739aa
nouveau: DPH and CMP for NV40 which doesn't do it natively.
18 jaren geleden
Ben Skeggs
cf33bcf0b2
nouveau: allow for card-specific shader infos to be kept
NV30/40 fragprog: build FP_CONTROL per-shader, still some hardcoded bits for
this reg.. It looks like it has to do with the number of
temps used, but needs more looking at.
NV40 vtxprog : build VP_IN_REG/VP_OUT_REG during shader compile
18 jaren geleden
Ben Skeggs
a8b9d13f74
nouveau: fill in condition info for instructions
18 jaren geleden
Ben Skeggs
ed69205684
nouveau: unbreak nv40
18 jaren geleden
Ben Skeggs
50227f6fd2
nouveau: reindent shader pass0/pass2
if this gets rejected by the commit list, just ignore it..
nothing interesting to see here :)
18 jaren geleden
Ben Skeggs
c3ac270996
nouveau: start converting shaders into a tree format again..
No branching stuff implemented yet. Works enough for gears, probably
other stuff broken.
18 jaren geleden
Jeremy Kolb
95fc270b06
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
18 jaren geleden
Jeremy Kolb
ea441355d3
nouveau: Fixes for nv30.
18 jaren geleden
Stephane Marchesin
d1f0a55af4
nouveau: fix some bugs in the nv10 swtcl.
18 jaren geleden
Stephane Marchesin
3c0961d299
nouveau: add nv04 state support, and small nv04 fixes.
18 jaren geleden
Ben Skeggs
4f800c5bac
nouveau: rename pass0_arb to pass0.
I was expecting to have 2 frontends for the shader code (asm, glsl).
With Brian's work on GLSL this is unnecessary :)
18 jaren geleden
Ben Skeggs
029b81742a
nouveau: kill off shader pass1.
It sucks, and we have someone who can do a much better job than I can starting
work on it soon. alloc_temp/free_temp is left in pass2 to workaround fragprog
temps/outputs overlapping, but this all belongs in the optimiser.
18 jaren geleden
Ben Skeggs
ee3d0617f9
nouveau: shader backend branching support for all cards that support it.
18 jaren geleden
Ben Skeggs
669fefd3da
nouveau: bump drm patchlevel
18 jaren geleden
Patrice Mandin
3c59483ed7
nouveau: preliminary nv50 state
18 jaren geleden
Aapo Tahkola
62efc4ba3e
support as much of GL_EXT_stencil_two_side as we can. untested.
18 jaren geleden
Keith Whitwell
3bfbe63806
New debug config for linux-dri
18 jaren geleden
Xiang, Haihao
747c9129c0
I965: fix bug#9625-get the correct PV for quardstrip
The order of vertices in payload for quardstrip is (0, 1, 3, 2),
so the PV for quardstrip is c->reg.vertex[2].
18 jaren geleden
Xiang, Haihao
afba8f0d30
Fix bug#9673
Cast from pointer to unsinged long and cast to pointer from
unsinged long
18 jaren geleden
Stephane Marchesin
7c8f311e40
nouveau: Use the most recent card list.
18 jaren geleden
Jerome Glisse
a03fc82771
mesa: Update _Current along Current on fragment program bound.
Same as a previously committed patch for vertex program, we
update fragment program ptr _Current along the Current one
so that _Current can't end up pointing to a no more valid
program.
18 jaren geleden
Patrice Mandin
7520478eb0
nouveau:nv10: fix setting clip region
18 jaren geleden
Stephane Marchesin
4c7d36b688
nouveau: Fix a bug in the nv04 swtcl.
18 jaren geleden
Ben Skeggs
16f35a3a22
nouveau: Add 0x0244 pciid manually for now..
pciids.sf.net is slow to add it so our generator picks it up,
and it's *really* annoying me :)
18 jaren geleden