| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The es1 and es2 dispath table initialization code is generated from the
API XML files and we can't easily share the dispatch table code setup.
Keep the _mesa_init_shader_dispatch() part of the patch, but roll back
the static-ization of shader entrypoints so es1 and es2 dispatch
initialization still works.
|
| |
|
|
|
|
| |
Refactor the code for all the glGetVertexAttrib() functions.
|
| |
|
|
|
|
| |
Still need to plug in API dispatch...
|
| |
|
|
|
|
| |
Still need to plug into dispatcher...
|
| |
|
| |
|
| |
|
|
|
|
| |
Reported-by: Gianluca Anzolin <[email protected]>
|
| |
|
|
|
|
| |
Needed for vertex shaders too.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert Z from a normalized value in the range [0, 1] to an
object-space Z coordinate in [-1, +1] so that drawing at the new Z
position with the default/identity ortho projection results in the
original Z value. Used by the meta-Clear, Draw/CopyPixels and Bitmap
functions where the Z value comes from the clear value or raster
position.
Fixes piglit tests fdo23670-depth_test, quad-invariance and
glsl-orangebook-ch06-bump as well as oglc zbfunc.c.
https://bugs.freedesktop.org/show_bug.cgi?id=23670
|
|
|
|
|
|
|
|
| |
The check was disabled when FEATURE_OES_framebuffer_object was enabled,
since that used to mean we weren't implementing regular OpenGL semantics.
Now that we can compile in support for multiple APIs, change the #ifdef to
compile the check in when FEATURE_GL is enabled and enable the check for
contexts that implement OpenGL at runtime.
|
| |
|
|
|
|
|
|
|
| |
Now that we can support different APIs at runtime, we need to check the
context for the API we're currently providing as well.
https://bugs.freedesktop.org/show_bug.cgi?id=28194
|
|
|
|
|
| |
We should be able to do 16, but are limited by Mesa's static buffer
allocations.
|
|
|
|
|
|
|
|
| |
If you used all 4 color targets we currently support, we would see 0
and end up just writing the first output. Give enough bits that we
can do the maximum of 16.
Fixes piglit fbo-drawbuffers-maxtargets.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c
|
| | |
|
| |
| |
| |
| |
| | |
adapt to blit changes, and also handle a bit more msaa state in theory
(incomplete, doesn't handle resolves in any way for now).
|
| |
| |
| |
| | |
Signed-off-by: Brian Paul <[email protected]>
|
|\ \ |
|
| | |
| | |
| | |
| | | |
The linux-debug target builds...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The idea would be that you could have multiple send messages going on
if nothing depended on the previous message's results and you used a
different send message. The problem is that the later send requires
the VUE handle returned by the first send's allocate anyway.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before we would throttle in the flush callback prior to round-tripping
to the server to do copyregion or swapbuffer. Now, instead just note
that we need to throttle and do it in intel_prepare_render(), which
will be called after receiving the response from the server but before
we start rendering the next frame. Even if the server also throttles
us in swapbuffer, this just makes the throttling a no-op when we hit
intel_prepare_render(). With that we can drop the
using_dri2_swapbuffers hack and just always throttle.
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Alan Coopersmith <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Nicolai Hähnle <[email protected]>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Marek Olšák <[email protected]>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This basically restores the previous state, where a vertex result slot
is set up for the texcoord to be replaced with point coord. Fixes
piglit point-sprite test.
Bug #27625
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The initial call to intel_draw_buffers() happens when
intel->ctx.DrawBuffer is still NULL. Call it again after
calling _mesa_make_current().
https://bugs.freedesktop.org/show_bug.cgi?id=28112
|
| | |
| | |
| | |
| | | |
Signed-off-by: Corbin Simpson <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes regression from commit b0427bedde80e3189524651a327235bdfddbc613.
Reviewed-by: José Fonseca <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is trying to follow the spirit of the invariance rules, though
they're not specific on this point. Fixes quad-invariance piglit test
while retaining the 22s -> 18s win on glean blendFunc.
This was a regression in c67d9d84f501f145f841c0b981caff6f4dfd936f.
|
| | |
| | |
| | |
| | |
| | | |
GL doesn't actually let you begin an OQ while one is active, so the
extra work was pointless.
|
| | | |
|
| | |
| | |
| | |
| | | |
Tested-by: Marek Olšák <[email protected]>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Nicolai Hähnle <[email protected]>
|
| | | |
|
| | | |
|