| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Lowered indirect addressing can create lots of immediates.
Fixes piglit/glsl-fs-uniform-array-7 on r300g.
NOTE: This is a candidate for the 7.10 branch.
Reviewed-by: Brian Paul <[email protected]>
(cherry picked from commit ff038170ff9042c0ee535be7c2837d200e06b0c0)
|
|
|
|
| |
(cherry picked from commit b79b05e17e197a7cdc523deff8f7ea456a91e8d0)
|
|
|
|
| |
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
| |
Signed-off-by: Alex Deucher <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The disable-mmx option was removed in llvm-2.9svn by revisions 122188
and 122189.
Fixes FDO bug 32564.
|
| |
|
|
|
|
| |
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
|
| |
NOTE: This is a candidate for the stable branches.
(cherry picked from commit f814dd7a8171d9a3c413c3813d2d91d655535041)
|
|
|
|
|
|
|
|
| |
This avoid any issue when context is free and we still try to
access fence through radeon structure.
Signed-off-by: Jerome Glisse <[email protected]>
(cherry picked from commit 63b9790a55038c262b57c846a5f7067ea33fc60f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ctx->dPriv might be != NULL then draw which is NULL is accessed:
struct dri_drawable *draw = dri_drawable(driDrawPriv);
[..]
if (ctx->dPriv != driDrawPriv) {
ctx->dPriv = driDrawPriv;
draw->texture_stamp = driDrawPriv->lastStamp - 1;
}
Cherry-picked from 0acb31be171f01aec8b38ceaddf47b7da6dae2a0
Signed-off-by: Jakob Bornecrantz <[email protected]>
|
|
|
|
|
|
|
|
| |
Piglit:
- fbo-alphatest-nocolor
NOTE: This is a candidate for the stable branches.
(cherry picked from commit 226ae9d6c8f282de788404b4d98af7ddf8ee30f4)
|
|
|
|
|
|
|
| |
This fd gets passed in from outside, closing it causes the X.org server
to crap out when the driver doesn't identify the chipset.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Needs to track this ourself since because we get into a race condition with
the dri_util.c code on make current when rendering to the front buffer.
This is what happens:
Old context is rendering to the front buffer.
App calls MakeCurrent with a new context. dri_util.c sets
drawable->driContextPriv to the new context and then calls the driver make
current. st/dri make current flushes the old context, which calls back into
st/dri via the flush frontbuffer hook. st/dri calls dri loader flush
frontbuffer, which calls invalidate buffer on the drawable into st/dri.
This is where things gets wrong. st/dri grabs the context from the dri
drawable (which now points to the new context) and calls invalidate
framebuffer to the new context which has not yet set the new drawable as its
framebuffers since we have not called make current yet, it asserts.
(cherry picked from commit 94ccc31ba4f64ac480137fd90f1ded44d2072f6e)
Conflicts:
src/gallium/state_trackers/dri/common/dri_context.c
|
|
|
|
|
|
|
|
| |
Before we were looping to nr_samplers, which is the number of fragment
samplers, not vertex samplers.
NOTE: This is a candidate for the 7.9 and 7.10 branches.
(cherry picked from commit d087cfaabf386c462329fb62f54311523a89f106)
|
|
|
|
|
|
|
|
|
|
| |
If we invert Y, need to subtract one from the surface height.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=26795
for softpipe.
NOTE: This is a candidate for the 7.9 and 7.10 branches.
(cherry picked from commit 40ac24e631e694e00652a2df6c0ac5d0f07f620f)
|
|
|
|
|
|
|
|
| |
This fixes a potential failure when a begin/end_query is the first
thing to happen after flushing the scene.
NOTE: This is a candidate for the 7.10 and 7.9 branches.
(cherry picked from commit 42dbc2530b5a2263012f3fa0e48517a1b8db1c52)
|
|
|
|
|
|
|
| |
Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452
NOTE: This is a candidate for the 7.10 branch
(cherry picked from commit 3ecf47af1252ad10f98d5ce488cc1b91fab64c25)
|
|
|
|
|
|
|
|
|
|
| |
Create a constant int pointer to the C function, then cast it to the
function's type. This avoids using trampoline code which seem to be
inadvertantly freed by LLVM in some situations (which leads to segfaults).
The root issue and work-around were found by José.
NOTE: This is a candidate for the 7.10 branch
(cherry picked from commit ee16e97ed1d0921c533c77688b278bef393d9922)
|
|
|
|
|
|
|
|
| |
fixes 34179.
Reported-by: Sense Hofstede
Requested-by: Christopher James Halse Rogers <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
radeon_drm_bufmgr_create_buffer_from_handle() can return NULL buffers
sometimes (seen when alt-tabbing in compiz). Avoid dereferencing the
buffer pointer in this case.
Ref.: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/691653
Also: https://bugzilla.redhat.com/show_bug.cgi?id=660143
Signed-off-by: Bryce Harrington <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 8aac5d123c4636fad5e9d70c3a6706aaa6f1f240)
Conflicts:
src/SConscript
src/gallium/targets/egl-static/SConscript
src/glsl/SConscript
src/mesa/SConscript
|
|
|
|
|
|
|
|
|
| |
When use_spoken is true, istart (the first vertex of this segment) is
replaced by i0 (the spoken vertex of the fan). There are still icount
vertices.
Thanks to Brian Paul for spotting this.
(cherry picked from commit abbb1c8f084c6739bc9d6f559caf26f3f71b2fab)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From the r600 ISA:
Each ALU clause can lock up to four sets of constants
into the constant cache. Each set (one cache line) is
16 128-bit constants. These are split into two groups.
Each group can be from a different constant buffer
(out of 16 buffers). Each group of two constants consists
of either [Line] and [Line+1] or [line + loop_ctr]
and [line + loop_ctr +1].
For supporting more than 64 constants, we need to
break the code into multiple ALU clauses based
on what sets of constants are needed in that clause.
Note: This is a candidate for the 7.10 branch.
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
| |
This adds support for barts, turks, and caicos.
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
|
|
|
|
| |
evergreen was crashing running even gears here.
This is a 7.10 candidate if its broken the same.
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
|
|
| |
Candidates 7.10
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
| |
Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Can't get away from referencing upload buffer as after flush a vertex buffer
using the upload buffer might still be active. Likely need to simplify the
pipe_refence a bit so we don't waste so much cpu time in it.
candidates for 7.10 branch
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Note the support for non float vertex draw likely regressed need to
find what we want to do there.
candidates for 7.10 branches
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
| |
Spoted by Alex Diomin
Signed-off-by: Jerome Glisse <[email protected]>
|
|
|
|
|
|
|
| |
We have to use the non-IEEE compliant version of MUL here, since
log2(0) is -inf, and 0 * -inf is NaN in IEEE arithmetic.
candidates for 7.10 branch
|
|
|
|
|
|
|
|
|
| |
The hardware supports zero stride just fine. This is a port
of 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 from r300g.
NOTE: This is a candidate for both the 7.9 and 7.10 branches.
Signed-off-by: Alex Deucher <[email protected]>
|
|
|
|
|
|
|
| |
We shouldn't hit this bug in theory.
NOTE: This is a candidate for the 7.10 branch.
(cherry picked from commit d9b84017e0000b4740bf3318f54a3a5e31858f4f)
|
|
|
|
|
|
|
|
|
|
|
| |
Based on a patch from Drill <[email protected]>.
NOTE: This is a candidate for the 7.10 branch.
(cherry picked from commit 88550083b3857184445075e70fed8b2eed4952a1)
Conflicts:
src/gallium/drivers/r300/r300_context.c
|
|
|
|
|
|
| |
When configs is NULL, the app wants to know the number of matching
configs.
(cherry picked from commit 9f2062fb12aa4e0d69583e88e70080efe70e1967)
|
|
|
|
|
|
|
| |
Set window_bit only when the visual id is greater than zero. Correct
visual types. Skip slow configs as they are not relevant. Finally, do
not return duplicated configs.
(cherry picked from commit 445cb9e53b1a98eb8af6ec499912a52b03fb1ce3)
|
|
|
|
|
| |
Flush before presenting.
(cherry picked from commit a31e2e3312cae5c4253a47dc30926ceb8c821ce3)
|
|
|
|
|
| |
Unreference validated resources or remove unnecessary validations.
(cherry picked from commit 18bc427adecd7ecd728adc03ed73bb07878c0e8f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even though a bound texture stays bound when calling set_fragment_sampler_views,
it must be assigned a new cache region depending on the occupancy of other
texture units.
This fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28800
Thanks to Álmos <[email protected]> for finding the bug in the code.
NOTE: This is a candidate for both the 7.9 and 7.10 branches.
(cherry picked from commit daffaca53e47faeaaefb98ca46fe4870133d9f02)
|
|
|
|
|
|
|
|
|
|
| |
The hardware apparently does support a zero stride, so let's use it.
This fixes missing objects in ETQW, but might also fix a ton of other
similar-looking bugs.
NOTE: This is a candidate for both the 7.9 and 7.10 branches.
(cherry picked from commit 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The RS690 memory controller prefers things to be on a different
boundary than the discrete GPUs, we had an attempt to fix this,
but it still failed, this consolidates the stride calculation
into one place and removes the really special case check.
This fixes gnome-shell and 16 piglit tests on my rs690 system.
NOTE: This is a candidate for both the 7.9 and 7.10 branches.
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit d19b5cbd317620f3977e68fffb7a74793436b7e2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes piglit glx-shader-sharing crash.
When shaders are shared by multiple contexts, the shader's draw context
pointer may point to a previously destroyed context. Dereferencing the
context pointer will lead to a crash.
In this case, simply removing the flushing code avoids the crash (the
exec and sse shader paths don't flush here either).
There's a deeper issue here, however, that needs examination. Shaders
should not keep pointers to contexts since contexts might get destroyed
at any time.
NOTE: This is a candidate for the 7.10 branch (after this has been
tested for a while).
(cherry picked from commit becc4bb90c46f754018ac596460e6c6a650d399c)
|
| |
|
|
|
|
| |
Signed-off-by: Jerome Glisse <[email protected]>
|