Age | Commit message (Collapse) | Author |
|
|
|
|
|
Make it clear that entry.h does not depend on stub.h.
|
|
Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in
table.h.
|
|
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.
|
|
Add accessors for struct mapi_stub and make it opaque.
|
|
For example, a printer may ask not to output noop dispatch table.
|
|
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>'.
|
|
Entries with handcode attribute will be handled normally, except no
entry point will be generated for them.
|
|
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.
|
|
An entry can hold more info than plain name.
|
|
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>
|
|
still needs RADEON_HYPERZ=y env var.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
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>
|
|
The case of format being MESA_FORMAT_COUNT should never occur.
|
|
All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c
in oglconform.
|
|
This fixes
brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
|
|
|
|
|
|
|
|
|
|
|
|
fixes warning reported by vlee on irc.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
|
|
Thanks to Marek Olšák for making my initial attempt actually work.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
|
|
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>
|
|
|
|
According to the comment, the warning should be for debug builds.
|
|
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.
|
|
|
|
These are copy-paste errors obviously.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Radeon GPUs do support GL_RGB10_A2.
|
|
|
|
To provide enough precision if a user wants it.
|
|
And also check if the formats are supported to return something meaningful
if compression cannot be used.
|
|
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.
|
|
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.
|
|
This makes conformance tests stable on sandybridge D0 to track
multisample state before SF/WM state.
|
|
Old MI_FLUSH command is deprecated on sandybridge blt.
|
|
|