Roland Scheidegger
c78748a527
gallium: adapt drivers to interface cleanups
2009-12-02 02:08:26 +01:00
Roland Scheidegger
decf6ed810
fixups for interface changes (mostly state trackers)
2009-11-30 23:02:49 +01: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
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
José Fonseca
8bf4e5d617
llvmpipe: Update instructions.
2009-11-24 16:01:01 +00:00
José Fonseca
f3a0615fb0
svga: Handle comment tokens when dumping.
2009-11-24 14:49:21 +00:00
José Fonseca
d185c2fd13
svga: Use consistent names for public symbol names of shader dumping facilities.
2009-11-24 14:43:30 +00:00
José Fonseca
a71f836504
svga: Use consistent file names for dumping facilities.
2009-11-24 14:37:45 +00:00
José Fonseca
1325361abe
util: Describe a few more formats.
2009-11-24 14:25:21 +00:00
José Fonseca
4ae3e88dc9
llvmpipe: Use assert instead of abort. Only verify functions on debug builds.
2009-11-24 14:25:21 +00:00
José Fonseca
066991c8d1
llvmpipe: Fix memory leak.
2009-11-24 14:25:20 +00:00
José Fonseca
2282fb7710
llvmpipe: Use the generic conversion routine for depths.
...
This allows for z32f depth format to work correctly.
2009-11-24 14:25:20 +00:00
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.
2009-11-24 14:25:20 +00:00
José Fonseca
c6d663e6dc
wgl: Fix copy'n'paste typo in comment.
2009-11-24 14:25:20 +00:00
José Fonseca
52df532b02
llvmpipe: Fix typo in comparison operator.
2009-11-24 14:25:20 +00:00
Michal Krol
3c46bbee1b
tgsi: Document Declaration Semantic token and FACE semantic name.
2009-11-24 11:58:01 +01:00
Michal Krol
0c54d76f37
tgsi: Implement predicated instructions in exec.
2009-11-24 09:05:31 +01:00
Michal Krol
59a70c364d
tgsi: Add ureg_DECL_loop().
2009-11-24 09:05:29 +01:00
Michal Krol
5ee0d9f632
tgsi: Account for gallium shader token representation changes.
2009-11-24 09:05:28 +01:00
Michal Krol
57221c5438
gallium: Refactor the instruction predicate TGSI token.
...
Rename it to tgsi_instruction_predicate -- it's no longer an extended
token. Its presence is indicated by a new flag in tgsi_instruction that
indicates whether an instruction is predicated.
Also, change predicate index representation to match the other
tokens that specify register indices.
2009-11-24 09:05:26 +01:00
Brian Paul
8d80b5400a
r300g: use util_bitcount()
2009-11-23 18:06:19 -07:00
Brian Paul
0a27c7b963
egl: use util_bitcount()
2009-11-23 18:04:47 -07:00
Brian Paul
15740eb03c
gallium/util: added util_bitcount()
2009-11-23 18:04:22 -07:00
Maciej Cencora
5173d14cb5
Merge commit 'origin/mesa_7_7_branch'
2009-11-23 22:14:48 +01:00
Jakob Bornecrantz
86710c3334
svga: Scrub Makefiles a bit
...
Remove x86 specific hacks. Not that they will ever be used on
none x86 arches, but they are built by default. And the way the
flags where added was a hack.
2009-11-23 20:09:00 +01:00
Michal Krol
c511e0b844
tgsi: Clamp the source argument in micro_exp2() to avoid Inf.
2009-11-23 11:32:58 +01:00
Michal Krol
eacdd8fa75
tgsi: Remove code that actually had no effect.
2009-11-23 11:29:29 +01:00
Michal Krol
cc93fa3527
softpipe: Initialise TGSI machine's Face.
2009-11-23 10:51:07 +01:00
Michal Krol
cc35a454da
tgsi: Fix POSITION and FACE fragment shader inputs.
2009-11-23 10:49:41 +01:00
Michal Krol
b7590cde4a
tgsi: Bring BGNFOR/ENDFOR implementation up to spec.
2009-11-23 10:40:05 +01:00
Michal Krol
cde758a2b5
tgsi: Fake TXD implementation in exec.
2009-11-23 10:29:08 +01:00
Michal Krol
f359ac5486
tgsi: Add execution debugging facilities to exec.
2009-11-23 10:29:07 +01:00
Vinson Lee
57d389aab5
svga: Prevent potential null pointer deference in vmw_surface.c.
2009-11-22 01:26:32 -05:00
Vinson Lee
b62a74d3b9
svga: Fix memory leak in vmw_screen_ioctl.c
2009-11-22 01:20:07 -05:00
Vinson Lee
88aab56a26
st/xorg: Prevent potential null pointer deference in xorg_xv.c.
2009-11-22 01:10:38 -05:00
Vinson Lee
46feb7db71
st/xorg: Reorder cases in switch statement.
...
Silences missing break statement warning.
2009-11-22 00:55:52 -05:00
Corbin Simpson
2b07b64061
r300g: Build fix.
...
Oops.
2009-11-21 19:13:26 -08:00
Marek Olšák
44c0aaf990
r300g: do not reallocate r300_vertex_info and r300_rs_block all the time
2009-11-21 14:52:26 -08:00
Marek Olšák
3a2cd66af8
r300g: clean up vs/fs tabs
...
Instead of vs_tab, we use vs_output_tab and it's local now. fs_tab hasn't
been used anywhere, so I removed it and r300_update_fs_tab too.
2009-11-21 14:52:26 -08:00
Marek Olšák
435c495549
r300g: silence warnings
2009-11-20 18:06:21 -08:00
Marek Olšák
624a0cd9c1
r300g: fix typo in r300_reg.h to prevent the RS unit from doing random things
...
And reorder fragment shader inputs so that the colors are before texcoords,
as is allocated by the shader compiler. This commit makes VS->FS attribute
routing work on R500.
2009-11-20 18:05:21 -08:00