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
Eric Anholt
bf15ad3782
i965: Keep around a copy of the VS constant surface dumping code.
...
Just like everywhere else, I never trust my constant uploads to
correctly put constants in the right places, even though that's so
rarely where the issue is.
2010-12-23 01:32:44 -08:00
Eric Anholt
5dc53444c8
i965: Correct the dp_read message descriptor setup on g4x.
...
It's mostly like gen4 message descriptor setup, except that the sizes
of type/control changed to be like gen5. Fixes 21 piglit cases on
gm45, including the regressions in bug #32311 from increased VS
constant buffer usage.
2010-12-23 01:32:43 -08:00
Zhenyu Wang
de6fd527a5
i965: upload multisample state for fragment program change
...
This makes conformance tests stable on sandybridge D0 to track
multisample state before SF/WM state.
2010-12-23 17:30:03 +08:00
Zhenyu Wang
845d651cf6
i965: Use MI_FLUSH_DW for blt ring flush on sandybridge
...
Old MI_FLUSH command is deprecated on sandybridge blt.
2010-12-23 17:29:46 +08:00
Vinson Lee
1e7bfcc707
st/mesa: Remove unnecessary header.
2010-12-23 01:03:32 -08:00
Vinson Lee
492afbce18
gallivm: Disable MMX-disabling code on llvm-2.9.
...
The disable-mmx option was removed in llvm-2.9svn by revisions 122188
and 122189.
Fixes FDO bug 32564.
2010-12-22 19:56:10 -08:00
Vinson Lee
adaa310e39
gallivm: Fix 'cast from pointer to integer of different size' warning.
...
Fixes this GCC warning.
lp_bld_const.h: In function 'lp_build_const_int_pointer':
lp_bld_const.h:137: warning: cast from pointer to integer of different size
2010-12-22 16:48:19 -08:00
Vinson Lee
38c8b034e2
i915g: Remove unnecessary header.
2010-12-22 00:57:52 -08:00
Vinson Lee
442fcd0620
llvmpipe: Remove unnecessary headers.
2010-12-22 00:55:41 -08:00
Vinson Lee
013fc33462
r300g: Remove unnecessary headers.
2010-12-22 00:52:05 -08:00
Vinson Lee
f39d0c791a
svga: Remove unnecessary header.
2010-12-22 00:42:23 -08:00
Vinson Lee
a91128030e
st/vega: Remove unnecessary headers.
2010-12-22 00:38:42 -08:00
Henri Verbeet
ca8b4ca478
r600g: Remove the unused "pframebuffer" field from r600_pipe_context.
2010-12-22 09:19:48 +01:00
Henri Verbeet
2fd718d560
r600g: r600_new() and r600_delete() are unused.
2010-12-22 09:19:48 +01:00
Zhenyu Wang
4374703a9b
i965: explicit tell header present for fb write on sandybridge
...
Determine header present for fb write by msg length is not right
for SIMD16 dispatch, and if there're more output attributes, header
present is not easy to tell from msg length. This explicitly adds
new param for fb write to say header present or not.
Fixes many cases' hang and failure in GL conformance test.
2010-12-22 11:08:51 -05:00