Michal Krol
eeb8dd12b4
trace: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
8eecd3bafb
svga: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
c1bcedc4ce
r300: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
d15bb1cba3
nv: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
551b2db82b
lp: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
f0d3abf383
id: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
25bb04a1ee
i915: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
e04324b8f9
fo: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
cd3409ce05
cell: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
204e586c56
vl: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
f33c064f32
draw: Update for renamed sampler/texture state setters.
15 years ago
Michal Krol
fd4aa4f323
cso: Add support for separate vertex sampler state.
15 years ago
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.
15 years ago
Michal Krol
2fd1aee217
tgsi/sanity: Up MAX_REGISTERS to 1024.
15 years ago
Brian Paul
7725744433
st/mesa: handle front/back-face +1/-1 vs. 1/0 conversion
Fixes progs/glsl/twoside.c demo.
15 years ago
Richard Li
a1b9c4e22a
r600 : clena up a bit for last commit.
15 years ago
Richard Li
2db72f329f
r600 : add read port allocation for uniform;
mapping ps input based on vs output;
fix bugs including constants updating for vs.
15 years ago
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.
15 years ago
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 07fafc7c9346aa260829603bf3188596481e9e62, which renders
previous assumptions incorrect.
15 years ago
Christoph Bumiller
3f471c7948
nv50: don't permanently negate src in emit_ddy
15 years ago
Corbin Simpson
287bdd8e75
util: Fix bad code.
Uf. How embarrassing.
15 years ago
Corbin Simpson
c93dcbfea7
util: Improve bitcount.
Sorry for not pushing this before, it got lost in stashes.
15 years ago
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.
15 years ago
Christoph Bumiller
510fd280b5
nv50: bswap32 the polygon stipple pattern
The hardware wants the pattern the same way it is
passed to glPolygonStipple.
15 years ago
Christoph Bumiller
e65258abf5
gallium/util: added util_bswap32()
15 years ago
Roland Scheidegger
7fa1bcc05a
svga: fix for not using texture width/height/depth arrays
15 years ago
Roland Scheidegger
b748a9f574
r300g,llvmpipe: fix some more merge problems
15 years ago
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
15 years ago
Roland Scheidegger
d509f84543
gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
15 years ago
Michal Krol
884007546c
tgsi/exec: Fix orientation of DDY.
15 years ago
Michal Krol
a2c101029d
tgsi/exec: Force return from a subroutine at ENDSUB.
15 years ago
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).
15 years ago
Michal Krol
75df599e30
tgsi/ureg: Add forgotten goto in ureg_DECL_constant().
15 years ago
José Fonseca
953b74d116
llvmpipe: Fake missing SSSE3 when simulation less capabable machines.
SSE3 != SSSE3 and so far we only use the later.
15 years ago
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.
15 years ago
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
15 years ago
José Fonseca
9e3728c858
scons: Make it work with MinGW build of LLVM 2.6.
LLVM 2.5 is no longer supported on windows.
15 years ago
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>
15 years ago
Richard Li
11dce74030
r600 : reset stack flag with one channel only.
16 years ago
Richard Li
d4c2f53ca5
r600 : fix stack depth setting bug.
16 years ago
José Fonseca
8bf4e5d617
llvmpipe: Update instructions.
16 years ago
José Fonseca
f3a0615fb0
svga: Handle comment tokens when dumping.
16 years ago
José Fonseca
d185c2fd13
svga: Use consistent names for public symbol names of shader dumping facilities.
16 years ago
José Fonseca
a71f836504
svga: Use consistent file names for dumping facilities.
16 years ago
José Fonseca
1325361abe
util: Describe a few more formats.
16 years ago
José Fonseca
4ae3e88dc9
llvmpipe: Use assert instead of abort. Only verify functions on debug builds.
16 years ago
José Fonseca
066991c8d1
llvmpipe: Fix memory leak.
16 years ago
José Fonseca
2282fb7710
llvmpipe: Use the generic conversion routine for depths.
This allows for z32f depth format to work correctly.
16 years ago
José Fonseca
b375526b50
llvmpipe: Be more conservative with the supported formats.
We'll likely support much more formats, but doing this allows to run
more testsuites without immediately hit assertion failures.
16 years ago
José Fonseca
c6d663e6dc
wgl: Fix copy'n'paste typo in comment.
16 years ago