Marek Olšák
cb90235135
r300g: clean up derived states
...
The state setups which aren't derived anymore have been moved to the VS
and FS objects.
2009-12-01 01:20:26 -08:00
Marek Olšák
6f05eba020
r300g: VS->FS attribute routing rework
...
Now it always correctly pairs up VS and FS even if the semantics and indices
of VS outputs and FS inputs don't match.
2009-12-01 01:20:26 -08:00
Marek Olšák
759604e32b
r300g: add R300 prefix in reg definitions
2009-12-01 01:20:26 -08:00
Michal Krol
7a43c39d20
cso: Fix function prototype.
2009-12-01 10:07:15 +01:00
Michal Krol
57ed791305
trace: Implement separate vertex sampler state.
2009-12-01 09:52:44 +01:00
Michal Krol
f8969db2f8
fo: Implement separate vertex sampler state.
2009-12-01 09:52:42 +01:00
Michal Krol
f2f7bd855a
id: Implement separate vertex sampler state.
2009-12-01 09:52:39 +01:00
Michal Krol
3f900c33ae
trace: Reduce double semicolons to single ones.
2009-12-01 09:52:37 +01:00
Michal Krol
0f884ed993
sp: Do not falsely advertise support for some SNORM formats.
2009-12-01 09:52:35 +01:00
Michal Krol
8a619e62bf
sp: Implement separate vertex sampler state.
2009-12-01 09:52:32 +01:00
Michal Krol
ee86b1b58d
python: Update for renamed sampler/texture state setters.
2009-12-01 09:52:30 +01:00
Michal Krol
e197652ce0
st: Update for renamed sampler/texture state setters.
2009-12-01 09:52:27 +01:00
Michal Krol
eeb8dd12b4
trace: Update for renamed sampler/texture state setters.
2009-12-01 09:52:25 +01:00
Michal Krol
8eecd3bafb
svga: Update for renamed sampler/texture state setters.
2009-12-01 09:52:23 +01:00
Michal Krol
c1bcedc4ce
r300: Update for renamed sampler/texture state setters.
2009-12-01 09:52:20 +01:00
Michal Krol
d15bb1cba3
nv: Update for renamed sampler/texture state setters.
2009-12-01 09:52:18 +01:00
Michal Krol
551b2db82b
lp: Update for renamed sampler/texture state setters.
2009-12-01 09:52:15 +01:00
Michal Krol
f0d3abf383
id: Update for renamed sampler/texture state setters.
2009-12-01 09:52:13 +01:00
Michal Krol
25bb04a1ee
i915: Update for renamed sampler/texture state setters.
2009-12-01 09:52:11 +01:00
Michal Krol
e04324b8f9
fo: Update for renamed sampler/texture state setters.
2009-12-01 09:52:08 +01:00
Michal Krol
cd3409ce05
cell: Update for renamed sampler/texture state setters.
2009-12-01 09:52:06 +01:00
Michal Krol
204e586c56
vl: Update for renamed sampler/texture state setters.
2009-12-01 09:52:04 +01:00
Michal Krol
f33c064f32
draw: Update for renamed sampler/texture state setters.
2009-12-01 09:52:01 +01:00
Michal Krol
fd4aa4f323
cso: Add support for separate vertex sampler state.
2009-12-01 09:51:59 +01:00
Michal Krol
15d1b406af
gallium: Introduce separate vertex texture/sampler state.
...
Previously, gallium shared sampler and texture state between vertex
and fragment shader stages. This change generalises this concept by
providing separate entrypoints for vertex and fragment sampler state
setting.
A new capability bit is added to query the driver for the number
of samplers that can be utilised by a vertex and fragment shader
at the same time.
2009-12-01 09:51:56 +01:00
Michal Krol
2fd1aee217
tgsi/sanity: Up MAX_REGISTERS to 1024.
2009-12-01 09:51:54 +01:00
Ian Romanick
f17dbe256b
mesa: set version string to 7.7-rc1
2009-11-30 17:56:07 -08:00
Ian Romanick
910aaed4da
mesa: set version string to 7.6.1-rc2
2009-11-30 17:55:21 -08:00
Ian Romanick
650e02003f
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
progs/util/shaderutil.c
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/main/version.h
2009-11-30 17:47:07 -08:00
Roland Scheidegger
decf6ed810
fixups for interface changes (mostly state trackers)
2009-11-30 23:02:49 +01:00
Ian Romanick
587a52e95b
i915: Actually put i915PointParameterfv in the driver function table. Duh.
2009-11-30 12:43:12 -08:00
Roland Scheidegger
ac400ffce6
gallium: interface cleanups, remove nblocksx/y from pipe_texture and more
...
This patch removes nblocksx, nblocksy arrays from pipe_texture (can be
recalculated if needed). Furthermore, pipe_format_block struct is gone
completely (again, contains just derived state).
nblocksx, nblocksy, block are also removed from pipe_transfer, together with
the format enum (can be obtained from the texture associated with the transfer).
2009-11-30 20:29:18 +01:00
Brian Paul
7725744433
st/mesa: handle front/back-face +1/-1 vs. 1/0 conversion
...
Fixes progs/glsl/twoside.c demo.
2009-11-30 08:57:04 -07:00
Vinson Lee
270d36da14
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameterf, which uses the params
argument as an array.
2009-11-29 21:17:44 -05:00
Ian Romanick
533b766007
i915: Fallback bit define missed on previous commit
2009-11-29 17:49:55 -08:00
Ian Romanick
718f31b830
i915: Round point sizes instead of truncate.
2009-11-29 17:43:38 -08:00
Ian Romanick
d8d49716cf
i915: Enable point sprite coordinate generation
...
Support still isn't completely correct, but it's better. piglit
point-sprite now passes. However, glean's pointSprite test fails. In
that test the texture on the sprite is somehow inverted as though
GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware
shouldn't be able to do that!
I believe there are also problems when not all texture units have
GL_COORD_REPLACE set. The hardware enable seems to be all or nothing.
Fixes bug #25313 .
2009-11-29 17:40:02 -08:00
Vinson Lee
a201dfb6bf
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameteri, which uses the params
argument as an array.
2009-11-29 18:18:23 -05:00
Richard Li
a1b9c4e22a
r600 : clena up a bit for last commit.
2009-11-29 12:33:14 -05:00
Richard Li
2db72f329f
r600 : add read port allocation for uniform;
...
mapping ps input based on vs output;
fix bugs including constants updating for vs.
2009-11-29 12:33:14 -05:00
Maciej Cencora
63c00c53a3
radeon: update miptree code a little
...
Simplify gl image level <-> miptree level mapping (are equal now).
Don't allocate miptree for images that won't fit in it (fixes #25230 ).
2009-11-29 17:27:48 +01:00
Maciej Cencora
2773556d55
radeon: don't check the same miptree many times when looking for matching miptrees
2009-11-29 17:27:47 +01:00
Maciej Cencora
e8f0c8ab9d
radeon: add some debugging info
2009-11-29 17:27:47 +01:00
Christoph Bumiller
c332525ad3
nv50: update linkage on rasterizer change
...
We need to update VP_RESULT_MAP and/or COORD_REPLACE_MAP
when light_twoside and/or point_sprite are changed.
2009-11-29 13:41:47 +01:00
Christoph Bumiller
7494b82905
nv50: match VP outputs to FP inputs ourselves
...
For each FP input, don't assume that the VP output will be
at the same position, but scan the semantics instead, then
put the correct output reg indices into VP_RESULT_MAP.
Position is still assumed to be the first output/input.
See 07fafc7c93 , which renders
previous assumptions incorrect.
2009-11-29 13:41:47 +01:00
Christoph Bumiller
3f471c7948
nv50: don't permanently negate src in emit_ddy
2009-11-29 13:41:47 +01:00
Vinson Lee
ca5a7aadb4
mesa: Fix array out-of-bounds access by _mesa_TexGenf.
...
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument
as an array.
2009-11-29 00:50:48 -05:00
Vinson Lee
d55fb7c835
mesa: Fix array out-of-bounds access by _mesa_TexGeni.
...
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument
as an array.
2009-11-28 23:47:23 -05:00
Vinson Lee
919898e92f
dri: Fix potential null pointer dereference in driBindContext.
2009-11-28 23:22:31 -05:00
Vinson Lee
a11d60d14c
mesa: Fix array out-of-bounds access in _mesa_TexEnvf.
...
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
2009-11-28 22:08:20 -05:00