Vinson Lee
d59075303a
swrast: Clean up header file inclusion in s_aaline.h.
2010-12-24 18:35:10 -08:00
Vinson Lee
499c77edf1
st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.
2010-12-24 18:27:55 -08:00
Vinson Lee
b20dac4e2d
st/mesa: Clean up header file inclusion in st_gen_mipmap.h.
2010-12-24 18:06:20 -08:00
Chia-I Wu
65e8f81110
docs/egl: Update egl.html.
...
Various updates and a new section about packaging.
2010-12-25 02:53:49 +08:00
Marek Olšák
88550083b3
r300g/swtcl: re-enable LLVM
...
Based on a patch from Drill <drill87@gmail.com>.
NOTE: This is a candidate for the 7.10 branch.
2010-12-24 18:38:03 +01:00
Henri Verbeet
8fc6c5fb36
r600g: r600_blit_uncompress_depth() can't fail.
2010-12-24 11:41:26 +01:00
Henri Verbeet
878519b73e
r600g: Get rid of r600_blit_uncompress_depth_ptr.
2010-12-24 11:41:25 +01:00
Chia-I Wu
a91a337a7d
mapi: Move mapi_func typedef to entry.h.
...
Make it clear that entry.h does not depend on stub.h.
2010-12-24 17:33:50 +08:00
Chia-I Wu
a33e9f049d
mapi: Define MAPI_TMP_DEFINES only when needed.
...
Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in
table.h.
2010-12-24 17:33:49 +08:00
Chia-I Wu
e6a7ef3ca6
mapi: Add and use entry_get_public.
...
Given a dispatch slot, entry_get_public returns the address of the
corresponding public entry point. There may be more than one of them.
But since they are all equivalent, it is fine to return any one of them.
With entry_get_public, the address of any public entry point can be
calculated at runtime when an assembly dispatcher is used. There is no
need to have a mapping table in such case. This omits the unnecessary
relocations from the binary.
2010-12-24 17:33:49 +08:00
Chia-I Wu
897bff6773
mapi: Make struct mapi_stub opaque.
...
Add accessors for struct mapi_stub and make it opaque.
2010-12-24 17:28:52 +08:00
Chia-I Wu
0c205484bf
mapi: Allow blocks to be disabled from the output.
...
For example, a printer may ask not to output noop dispatch table.
2010-12-24 17:28:52 +08:00
Chia-I Wu
b765b1269f
mapi: Fix hidden entries.
...
Hidden entries are just like normal entries except that they are not
exported. Since it is not always possible to hide them, and two hidden
aliases can share the same entry, the name of hidden aliases are mangled
to '_dispatch_stub_<slot>'.
2010-12-24 17:28:52 +08:00
Chia-I Wu
52ca153349
mapi: Add "handcode" attribute to the script.
...
Entries with handcode attribute will be handled normally, except no
entry point will be generated for them.
2010-12-24 17:28:52 +08:00
Chia-I Wu
8eee1d522e
mapi: Minor ABIPrinter refactoring.
...
Split out function name generation from _c_decl to _c_function, and use
it everywhere. Add an optional 'export' argument to _cdecl. It is
prepended to the returned string.
2010-12-24 17:28:51 +08:00
Chia-I Wu
86d29eab48
mapi: Store alias entry instead of alias name.
...
An entry can hold more info than plain name.
2010-12-24 17:28:51 +08:00
Dave Airlie
876effb0e7
r600g: hack around property unknown issues.
...
should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619
Need to add proper support for properties later.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 17:34:40 +10:00
Dave Airlie
ac38ad6156
r300g: turn back on rv530 hiz.
...
still needs RADEON_HYPERZ=y env var.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 15:46:12 +10:00
Dave Airlie
7a5fac56b2
r300g: hyperz fixing typo.
...
Really no idea why I didn't see this before, but these values were opposite
the register spec.
this seems to fix rv530 HiZ on my laptop, will reenable in next commit.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 15:46:11 +10:00
Vinson Lee
a57e2c436b
mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.
...
The case of format being MESA_FORMAT_COUNT should never occur.
2010-12-23 18:19:42 -08:00
Xiang, Haihao
dc987adc9f
i965: use align1 access mode for instructions with execSize=1 in VS
...
All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c
in oglconform.
2010-12-24 09:51:44 +08:00
Xiang, Haihao
8249321604
i965: fix register region description
...
This fixes
brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
2010-12-24 09:51:22 +08:00
Vinson Lee
1039f36c47
r600g: Rearrange print order of outputs of R600_ERR.
2010-12-23 17:26:36 -08:00
Vinson Lee
38eff56f7e
mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.
2010-12-23 16:44:42 -08:00
Vinson Lee
7f178ffbf1
st/egl: Remove unnecessary header.
2010-12-23 16:23:53 -08:00
Vinson Lee
070f5da96d
libgl-xlib: Remove unnecessary header.
2010-12-23 16:19:11 -08:00
Vinson Lee
075a807f43
r300g: Remove unnecessary header.
2010-12-23 16:05:28 -08:00
Dave Airlie
aaccb73276
tgsi_text: just parse as an integer (value is a boolean).
...
fixes warning reported by vlee on irc.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 09:29:19 +10:00
Vinson Lee
0b76255714
mapi: Remove unnecessary header.
2010-12-23 15:25:38 -08:00
Vinson Lee
bf4dffb8ef
intel: Remove unnecessary headers.
2010-12-23 15:08:53 -08:00
Dave Airlie
4e52e8f746
r300g: add support for color0 writes to all bound color buffers.
...
Thanks to Marek Olšák for making my initial attempt actually work.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 07:19:58 +10:00
Dave Airlie
07498075b5
mesa/st: set the color write cbuf property for fragColor writes
2010-12-24 07:19:58 +10:00
Dave Airlie
2f4860f2ab
softpipe: add support for color writes all color bufs property
2010-12-24 07:19:57 +10:00
Dave Airlie
c9c8a5ed02
gallium: add fragment shader property for color writes to all buffers. (v2)
...
For GL fragColor semantics we need to tell the pipe drivers that the fragment
shader color result is to be replicated to all bound color buffers, this
adds the basic TGSI + documentation.
v2: fix missing comma pointed out by Tilman on mesa-dev.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 07:19:57 +10:00
Vinson Lee
eccffe2328
i965: Remove unnecessary headers.
2010-12-23 11:54:29 -08:00
Vinson Lee
280750c5ca
mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.
...
According to the comment, the warning should be for debug builds.
2010-12-23 11:32:16 -08:00
Marek Olšák
aedbf05d31
r300g: use a simpler fallback for misaligned ushort indices with triangles
...
If 'start' is odd, render the first triangle with indices embedded
in the command stream, which adds 3 to 'start' and makes it even.
Then continue with the fast path.
2010-12-23 16:54:59 +01:00
Marek Olšák
c420c0e7d6
r300g: add support for B2G3R3 texturing
2010-12-23 16:54:59 +01:00
Marek Olšák
bf7b6f60ae
mesa: fix texel store functions for some float formats
...
These are copy-paste errors obviously.
2010-12-23 16:54:58 +01:00
Marek Olšák
4a710469e0
st/mesa: do not require all texture formats to be renderable
...
This is a bandaid on the problem that if some formats were not renderable
(like luminance_alpha), st/mesa fell back to some RGBA format, so basically
some non-renderable formats were actually not used at all. This is only
a problem with hardware drivers, softpipe can render to anything.
Instead, require only RGB8/RGBA8 to be renderable.
2010-12-23 16:54:58 +01:00
Marek Olšák
998657112b
st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16
2010-12-23 16:54:58 +01:00
Marek Olšák
a780490374
gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORM
2010-12-23 16:54:58 +01:00
Marek Olšák
fd8aa7ac71
mesa: implement new texture format I16
2010-12-23 16:54:58 +01:00
Marek Olšák
bb5ace68ce
mesa: implement new texture format L16
2010-12-23 16:54:58 +01:00
Marek Olšák
eb31837a0d
mesa: implement new texture format A16
2010-12-23 16:54:58 +01:00
Marek Olšák
bae9d511f3
mesa: implement new texture format AL44
...
Radeon GPUs can do this. R600 can even do render-to-texture.
Packing and extracting aren't implemented, but we shouldn't hit them (I think).
Tested with swrast, softpipe, and r300g.
2010-12-23 16:54:58 +01:00
Marek Olšák
621e5254ef
mesa: implement new texture format ARGB2101010
...
Radeon GPUs do support GL_RGB10_A2.
2010-12-23 16:54:58 +01:00
Marek Olšák
0a7b60f7ed
st/mesa: if Z32 is unsupported, prefer Z24 to Z16
2010-12-23 16:54:58 +01:00
Marek Olšák
888e59fce8
st/mesa: use RGBA16 for RGB12 and RGB16
...
To provide enough precision if a user wants it.
2010-12-23 16:54:58 +01:00
Marek Olšák
3f9e78ac39
st/mesa: use DXT SRGB formats for COMPRESSED_SRGB
...
And also check if the formats are supported to return something meaningful
if compression cannot be used.
2010-12-23 16:54:57 +01:00