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
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
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
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
Corbin Simpson
287bdd8e75
util: Fix bad code.
...
Uf. How embarrassing.
2009-11-28 10:45:17 -08:00
Corbin Simpson
c93dcbfea7
util: Improve bitcount.
...
Sorry for not pushing this before, it got lost in stashes.
2009-11-28 10:14:42 -08:00
Christoph Bumiller
cad14c2542
nv50: do conversion of last insn to 64 bit format first
...
Simplifies things since the second to last one will then
be converted in the subsequent pass that ensures alignment
automatically.
2009-11-27 21:29:38 +01:00
Christoph Bumiller
510fd280b5
nv50: bswap32 the polygon stipple pattern
...
The hardware wants the pattern the same way it is
passed to glPolygonStipple.
2009-11-27 21:29:22 +01:00
Christoph Bumiller
e65258abf5
gallium/util: added util_bswap32()
2009-11-27 21:28:56 +01:00
Roland Scheidegger
7fa1bcc05a
svga: fix for not using texture width/height/depth arrays
2009-11-27 17:41:42 +01:00
Roland Scheidegger
b748a9f574
r300g,llvmpipe: fix some more merge problems
2009-11-27 17:40:24 +01:00
Roland Scheidegger
c95cbd45c6
Merge branch 'width0'
...
Conflicts:
src/gallium/drivers/r300/r300_texture.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/mesa/state_tracker/st_cb_texture.c
2009-11-27 17:15:47 +01:00
Roland Scheidegger
d509f84543
gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
2009-11-26 22:51:45 +01:00
Michal Krol
884007546c
tgsi/exec: Fix orientation of DDY.
2009-11-26 20:41:46 +01:00
Michal Krol
a2c101029d
tgsi/exec: Force return from a subroutine at ENDSUB.
2009-11-26 20:41:43 +01:00
Keith Whitwell
3bae72e204
draw: Fix max_index check.
...
We want to fallback to draw splitting when vertex element indices
might be too high for atomic draw path (currently limited to 4095).
2009-11-26 20:41:41 +01:00
Michal Krol
75df599e30
tgsi/ureg: Add forgotten goto in ureg_DECL_constant().
2009-11-26 20:41:38 +01:00
José Fonseca
953b74d116
llvmpipe: Fake missing SSSE3 when simulation less capabable machines.
...
SSE3 != SSSE3 and so far we only use the later.
2009-11-26 11:16:35 +00:00
José Fonseca
da1c40260d
llvmpipe: Update/correct CPU requirements.
...
There are no hard requirements at the moment.
We don't really emit any sse3 yet. Just some ssse3.
Thanks to Roland for spotting these incorrections.
2009-11-26 11:16:34 +00:00
Roland Scheidegger
4dcdf3b9c6
Merge commit 'origin/st-shader-varients'
...
Conflicts:
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_program.c
2009-11-26 01:15:25 +01:00
José Fonseca
9e3728c858
scons: Make it work with MinGW build of LLVM 2.6.
...
LLVM 2.5 is no longer supported on windows.
2009-11-25 18:07:27 +00:00
Dave Airlie
ce56a867f7
r600: add ARB_texture_non_power_of_two support.
...
This makes the miptree rounds up to the near POT for each level for
all radeons, however since mipmaps aren't support with NPOT on previous
radeons this calculation shouldn't cause any problems. If it does
we can just make it r600 only.
I tested a few mipmap demos on r500 and they all seem to work.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25 15:45:31 +10:00
Richard Li
11dce74030
r600 : reset stack flag with one channel only.
2009-11-24 16:00:25 -05:00
Richard Li
d4c2f53ca5
r600 : fix stack depth setting bug.
2009-11-24 12:16:39 -05:00