| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
radeon_cs_space_check flushes the pipe context on failure, retries
the validation, and returns -1 if it fails again. At that point, there is
nothing we can do, so let's skip draw operations instead of getting stuck
in an infinite loop.
This code path ideally should never be hit.
|
|
|
|
|
| |
This a leftover probably and is unnecessary, since we flush u_upload_mgr
in r300_flush.
|
| |
|
|
|
|
| |
Fixes SCons build.
|
| |
|
|
|
|
| |
Doesn't require 16-alignment, so catch more cases.
|
|
|
|
|
| |
Keep step array as a set of four m128i's and reuse throughout the
rasterization.
|
|
|
|
| |
Fragment shader can extract the correct bits for each quad.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
I really don't understand the mechanism behind this, but it
seems like the way data blocks for a scene are malloced, and in
particular whether we treat them as stack or a queue, and whether
we retain the most recently allocated or least recently allocated
has a real affect (~5%) on isosurf framerates...
This is probably specific to my distro or even just my machine,
but none the less, it's nicer not to see the framerates go in the
wrong direction.
|
| |
|
|
|
|
|
| |
If not opaque, then the color buffer will have to be read any way,
therefore the specialization is pointless.
|
|
|
|
|
|
|
|
|
|
| |
If the buffer we are attempting to map is referenced by the unsubmitted
command stream for this context, we need to flush the command stream,
however to do that we need to be able to access the context at the lowest
level map function, currently we set the buffer in the toplevel map, but this
racy between context. (we probably have a lot more issues than that.)
I'll look into a proper solution as suggested by jrfonseca when I get some time.
|
| |
|
|
|
|
|
|
|
| |
This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a
that causes artefacts and a performance drop.
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
| |
|
|
|
|
|
|
|
|
| |
This is erroneously throwing non plain formats out of the faster
AoS sampling path.
Doing 8bit interpolation for single channels such as L8 should be no
worse than with floating point. But this may need more investigation.
|
| |
|
|
|
|
| |
Or any ordering.
|
|
|
|
| |
It's never used.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Essentially a variation of the SoA version.
|
|
|
|
| |
Useful to pass these around.
|
|
|
|
| |
More accurate description of this function purpose.
|
|
|
|
|
| |
This is a simple test for the KIL opcode. It should render a 6 sided figure
with a colored interior.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The r300 compiler can now emit instructions that select from the presubtract
source. A peephole optimization has been added to convert instructions like:
ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract
operation.
|
|
|
|
| |
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
|
|
|
| |
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
|
|
|
| |
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
|
|
|
|
|
| |
We would leak bo if the argument check failed.
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
|
|
|
| |
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
|
|
|
|
|
| |
This makes the 'vp1-LOG test' piglit test work.
Signed-off-by: Tilman Sauerbeck <[email protected]>
|
|
|
|
| |
Be defensive.
|
|
|
|
| |
They are no longer used.
|
|
|
|
|
|
|
| |
Replace all uses of ST_API_OPENGL_ES{1,2} by profiles. Having 3
st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a
sane abstraction, since all of them share glapi for current
context/dispatch management.
|
|
|
|
|
|
| |
Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add struct st_context_attribs to describe context profiles and
attributes. Modify st_api::create_context to take the new struct
instead of an st_visual.
st_context_attribs can be used to support GLX_ARB_create_context_profile
and GLX_EXT_create_context_es2_profile in the future. But the
motivation for doing it now is to be able to replace ST_API_OPENGL_ES1
and ST_API_OPENGL_ES2 by profiles.
Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
|
|
|
|
|
| |
for evergreen I ended up using a non-contig array of states, but
this code needs a bit of fixing up to deal with that.
|
| |
|
| |
|
| |
|
| |
|
| |
|