summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-12-24r300g/swtcl: re-enable LLVMMarek Olšák
Based on a patch from Drill <drill87@gmail.com>. NOTE: This is a candidate for the 7.10 branch.
2010-12-24r600g: r600_blit_uncompress_depth() can't fail.Henri Verbeet
2010-12-24r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet
2010-12-24mapi: Move mapi_func typedef to entry.h.Chia-I Wu
Make it clear that entry.h does not depend on stub.h.
2010-12-24mapi: Define MAPI_TMP_DEFINES only when needed.Chia-I Wu
Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h.
2010-12-24mapi: Add and use entry_get_public.Chia-I Wu
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-24mapi: Make struct mapi_stub opaque.Chia-I Wu
Add accessors for struct mapi_stub and make it opaque.
2010-12-24mapi: Allow blocks to be disabled from the output.Chia-I Wu
For example, a printer may ask not to output noop dispatch table.
2010-12-24mapi: Fix hidden entries.Chia-I Wu
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-24mapi: Add "handcode" attribute to the script.Chia-I Wu
Entries with handcode attribute will be handled normally, except no entry point will be generated for them.
2010-12-24mapi: Minor ABIPrinter refactoring.Chia-I Wu
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-24mapi: Store alias entry instead of alias name.Chia-I Wu
An entry can hold more info than plain name.
2010-12-24r600g: hack around property unknown issues.Dave Airlie
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-24r300g: turn back on rv530 hiz.Dave Airlie
still needs RADEON_HYPERZ=y env var. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24r300g: hyperz fixing typo.Dave Airlie
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-23mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.Vinson Lee
The case of format being MESA_FORMAT_COUNT should never occur.
2010-12-24i965: use align1 access mode for instructions with execSize=1 in VSXiang, Haihao
All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform.
2010-12-24i965: fix register region descriptionXiang, Haihao
This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
2010-12-23r600g: Rearrange print order of outputs of R600_ERR.Vinson Lee
2010-12-23mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.Vinson Lee
2010-12-23st/egl: Remove unnecessary header.Vinson Lee
2010-12-23libgl-xlib: Remove unnecessary header.Vinson Lee
2010-12-23r300g: Remove unnecessary header.Vinson Lee
2010-12-24tgsi_text: just parse as an integer (value is a boolean).Dave Airlie
fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-23mapi: Remove unnecessary header.Vinson Lee
2010-12-23intel: Remove unnecessary headers.Vinson Lee
2010-12-24r300g: add support for color0 writes to all bound color buffers.Dave Airlie
Thanks to Marek Olšák for making my initial attempt actually work. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24mesa/st: set the color write cbuf property for fragColor writesDave Airlie
2010-12-24softpipe: add support for color writes all color bufs propertyDave Airlie
2010-12-24gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie
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-23i965: Remove unnecessary headers.Vinson Lee
2010-12-23mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.Vinson Lee
According to the comment, the warning should be for debug builds.
2010-12-23r300g: use a simpler fallback for misaligned ushort indices with trianglesMarek Olšák
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-23r300g: add support for B2G3R3 texturingMarek Olšák
2010-12-23mesa: fix texel store functions for some float formatsMarek Olšák
These are copy-paste errors obviously.
2010-12-23st/mesa: do not require all texture formats to be renderableMarek Olšák
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-23st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16Marek Olšák
2010-12-23gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORMMarek Olšák
2010-12-23mesa: implement new texture format I16Marek Olšák
2010-12-23mesa: implement new texture format L16Marek Olšák
2010-12-23mesa: implement new texture format A16Marek Olšák
2010-12-23mesa: implement new texture format AL44Marek Olšák
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-23mesa: implement new texture format ARGB2101010Marek Olšák
Radeon GPUs do support GL_RGB10_A2.
2010-12-23st/mesa: if Z32 is unsupported, prefer Z24 to Z16Marek Olšák
2010-12-23st/mesa: use RGBA16 for RGB12 and RGB16Marek Olšák
To provide enough precision if a user wants it.
2010-12-23st/mesa: use DXT SRGB formats for COMPRESSED_SRGBMarek Olšák
And also check if the formats are supported to return something meaningful if compression cannot be used.
2010-12-23i965: Keep around a copy of the VS constant surface dumping code.Eric Anholt
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-23i965: Correct the dp_read message descriptor setup on g4x.Eric Anholt
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-23i965: upload multisample state for fragment program changeZhenyu Wang
This makes conformance tests stable on sandybridge D0 to track multisample state before SF/WM state.
2010-12-23i965: Use MI_FLUSH_DW for blt ring flush on sandybridgeZhenyu Wang
Old MI_FLUSH command is deprecated on sandybridge blt.