| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
there's no point of having this per context, so move to screen
(and protect with a mutex).
|
| |
|
|
|
|
|
|
| |
Just put a pointer to the state in the tri->inputs struct. Remove
some complex logic for eliminating unused statechanges in bins at the
expense of a slightly larger triangle struct.
|
|
|
|
|
|
|
|
|
| |
Move this code back out to C for now, will generate separately.
Shader now takes a mask parameter instead of C0/C1/C2/etc.
Shader does not currently use that parameter and rasterizes whole
pixel stamps always.
|
|
|
|
|
|
|
|
|
| |
Rather than inserting an lp_rast_fence command at the end of each
bin, have each rasterizer thread call this function directly once
it has run out of work to do on a particular scene.
This results in fewer calls to the mutex & related functions, but more
importantly makes it easier to recognize empty bins.
|
|
|
|
|
| |
This was already the case, but the generated (un)swizzling code was not
benefiting of that knowledge.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Note that the enums.c file is generated with this script.
This will preserve the change from commit
c4066b78c0aad41c199eb27157538c2ec9ab5bfd.
|
| |
|
|
|
|
| |
Despite the docs, the corresponding hardware instructions are r5xx-only.
|
| |
|
|
|
|
| |
rv3x0 can't do it.
|
| |
|
| |
|
|
|
|
| |
It is a lot simplier, cleaner, and more stable now.
|
|\ |
|
| |
| |
| |
| |
| | |
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include
recursion.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Need to flush command stream before mapping texture image
that is referenced by current cs.
Candidate for 7.8 branch.
Signed-off-by: Maciej Cencora <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
There's already an implementation of pipe_barrier using
the other pipe_* primitives; just use that on Windows, too.
Now Windows passes pipe_barrier_test.
|
|
|
|
|
| |
The new default implementation of pipe_condvar makes it
unnecessary.
|
|
|
|
|
|
|
|
| |
Unfortunately compiling with these defines enabled would mean
Gallium can't run on Windows XP/2003 or older.
Todo: Need a macro to declare if we don't care about WinXP
compatibililty.
|
|
|
|
|
|
|
|
| |
Or at least a little of it. This version will sleep
for a fixed amount of time instead of just deadlocking,
which is a slight improvement.
Also do the same thing on any unrecognized platform.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An initial implementation made by Dave Airlie.
For it to be used, a color-only clear must be invoked and exactly one
point-sampled render target must be set. The render target must be
macrotiled (for us to overcome alignment issues) and bpp must be either
16 or 32.
I can't see a difference in performance. :(
Conflicts:
src/gallium/drivers/r300/r300_blit.c
|
|
|
|
|
|
| |
With an ordinary quad, the pixels on the main diagonal are computed
and stored twice, which is somewhat inefficient and might not work well
with specialized clear codepaths.
|
|
|
|
| |
And other minor fixups.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
FDO bug #28563.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When searching for valid miptree check images in range
of [BaseLeve, MaxLevel] not [MinLod, MaxLoad].
Prevents unnecessary miptree allocations in cases when during
every rendering operation different texture image level
was selected using MIN_LOD = MAX_LOD = level (for every level
new miptree for whole texture was allocated).
Candidate for 7.8 branch.
Signed-off-by: Maciej Cencora <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Always store selected miptree in texObj->mt so get_base_teximage_offset returns correct data.
Found with piglit/mipmap-setup.
Candidate for 7.8 branch.
Signed-off-by: Maciej Cencora <[email protected]>
|
|
|
|
|
|
| |
Candidate for 7.8 branch
Signed-off-by: Maciej Cencora <[email protected]>
|
| |
|
|
|
|
| |
Also print relocation failures on non-debug builds too.
|
|
|
|
|
| |
Fix GCC 'implicit declaration of function' compiler warnings resulting
from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7.
|
|
|
|
| |
Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion.
|
|
|
|
|
|
|
| |
r700_chip.h included r600_context.h, which included r700_chip.h.
Remove the unnecessary r600_context.h inclusion and add missing
headers.
|
| |
|
| |
|
| |
|
|
|
|
| |
The other similar integer/float conversion macros are in macros.h.
|
|
|
|
| |
This fixes sluggishness in vdrift.
|