summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet2010-12-243-6/+1
|
* mapi: Move mapi_func typedef to entry.h.Chia-I Wu2010-12-244-4/+4
| | | | Make it clear that entry.h does not depend on stub.h.
* mapi: Define MAPI_TMP_DEFINES only when needed.Chia-I Wu2010-12-242-1/+1
| | | | | Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h.
* mapi: Add and use entry_get_public.Chia-I Wu2010-12-247-16/+66
| | | | | | | | | | | 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.
* mapi: Make struct mapi_stub opaque.Chia-I Wu2010-12-244-15/+61
| | | | Add accessors for struct mapi_stub and make it opaque.
* mapi: Allow blocks to be disabled from the output.Chia-I Wu2010-12-241-47/+58
| | | | For example, a printer may ask not to output noop dispatch table.
* mapi: Fix hidden entries.Chia-I Wu2010-12-241-16/+55
| | | | | | | 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>'.
* mapi: Add "handcode" attribute to the script.Chia-I Wu2010-12-241-0/+22
| | | | | Entries with handcode attribute will be handled normally, except no entry point will be generated for them.
* mapi: Minor ABIPrinter refactoring.Chia-I Wu2010-12-241-21/+32
| | | | | | 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.
* mapi: Store alias entry instead of alias name.Chia-I Wu2010-12-241-6/+8
| | | | An entry can hold more info than plain name.
* r600g: hack around property unknown issues.Dave Airlie2010-12-241-0/+2
| | | | | | | | should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <[email protected]>
* r300g: turn back on rv530 hiz.Dave Airlie2010-12-241-1/+1
| | | | | | still needs RADEON_HYPERZ=y env var. Signed-off-by: Dave Airlie <[email protected]>
* r300g: hyperz fixing typo.Dave Airlie2010-12-241-2/+2
| | | | | | | | | 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 <[email protected]>
* mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+4
| | | | The case of format being MESA_FORMAT_COUNT should never occur.
* i965: use align1 access mode for instructions with execSize=1 in VSXiang, Haihao2010-12-241-0/+2
| | | | | All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform.
* i965: fix register region descriptionXiang, Haihao2010-12-241-1/+1
| | | | | This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
* r600g: Rearrange print order of outputs of R600_ERR.Vinson Lee2010-12-231-1/+1
|
* mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.Vinson Lee2010-12-231-0/+1
|
* st/egl: Remove unnecessary header.Vinson Lee2010-12-231-1/+0
|
* libgl-xlib: Remove unnecessary header.Vinson Lee2010-12-231-1/+0
|
* r300g: Remove unnecessary header.Vinson Lee2010-12-231-2/+0
|
* tgsi_text: just parse as an integer (value is a boolean).Dave Airlie2010-12-241-1/+0
| | | | | | fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <[email protected]>
* mapi: Remove unnecessary header.Vinson Lee2010-12-231-1/+0
|
* intel: Remove unnecessary headers.Vinson Lee2010-12-232-2/+0
|
* r300g: add support for color0 writes to all bound color buffers.Dave Airlie2010-12-245-9/+54
| | | | | | Thanks to Marek Olšák for making my initial attempt actually work. Signed-off-by: Dave Airlie <[email protected]>
* mesa/st: set the color write cbuf property for fragColor writesDave Airlie2010-12-241-0/+5
|
* softpipe: add support for color writes all color bufs propertyDave Airlie2010-12-243-4/+14
|
* gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie2010-12-245-3/+30
| | | | | | | | | | 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 <[email protected]>
* i965: Remove unnecessary headers.Vinson Lee2010-12-231-2/+0
|
* mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+1
| | | | According to the comment, the warning should be for debug builds.
* r300g: use a simpler fallback for misaligned ushort indices with trianglesMarek Olšák2010-12-231-26/+53
| | | | | | 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.
* r300g: add support for B2G3R3 texturingMarek Olšák2010-12-232-0/+9
|
* mesa: fix texel store functions for some float formatsMarek Olšák2010-12-231-10/+17
| | | | These are copy-paste errors obviously.
* st/mesa: do not require all texture formats to be renderableMarek Olšák2010-12-231-1/+6
| | | | | | | | | 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.
* st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16Marek Olšák2010-12-231-17/+78
|
* gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORMMarek Olšák2010-12-232-0/+10
|
* mesa: implement new texture format I16Marek Olšák2010-12-236-4/+50
|
* mesa: implement new texture format L16Marek Olšák2010-12-237-4/+55
|
* mesa: implement new texture format A16Marek Olšák2010-12-237-8/+58
|
* mesa: implement new texture format AL44Marek Olšák2010-12-237-1/+95
| | | | | | 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.
* mesa: implement new texture format ARGB2101010Marek Olšák2010-12-237-0/+128
| | | | Radeon GPUs do support GL_RGB10_A2.
* st/mesa: if Z32 is unsupported, prefer Z24 to Z16Marek Olšák2010-12-231-2/+2
|
* st/mesa: use RGBA16 for RGB12 and RGB16Marek Olšák2010-12-231-2/+2
| | | | To provide enough precision if a user wants it.
* st/mesa: use DXT SRGB formats for COMPRESSED_SRGBMarek Olšák2010-12-231-4/+16
| | | | | And also check if the formats are supported to return something meaningful if compression cannot be used.
* i965: Keep around a copy of the VS constant surface dumping code.Eric Anholt2010-12-231-0/+9
| | | | | | 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.
* i965: Correct the dp_read message descriptor setup on g4x.Eric Anholt2010-12-233-1/+23
| | | | | | | 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.
* i965: upload multisample state for fragment program changeZhenyu Wang2010-12-233-25/+38
| | | | | This makes conformance tests stable on sandybridge D0 to track multisample state before SF/WM state.
* i965: Use MI_FLUSH_DW for blt ring flush on sandybridgeZhenyu Wang2010-12-232-2/+7
| | | | Old MI_FLUSH command is deprecated on sandybridge blt.
* st/mesa: Remove unnecessary header.Vinson Lee2010-12-231-1/+0
|
* gallivm: Disable MMX-disabling code on llvm-2.9.Vinson Lee2010-12-221-0/+2
| | | | | | | The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.