Age | Commit message (Collapse) | Author |
|
Some of those still look atrocious. :T
|
|
|
|
I'm getting better at this, I think.
|
|
I fail at Sphinx-style ReST.
|
|
|
|
|
|
From IRC with Jakob.
|
|
The codepaths in the function were almost entirely different.
|
|
|
|
Fixes piglit vp-arl-constant-array-huge-overwritten.
|
|
The tests for an empty ring buffer were incorrect.
Fixes glxinfo segfaults.
Plus, add a new assertion.
|
|
This function was untested, sorry.
|
|
These options draw lines over the tiles to show the 64x64 tile
bounds and 16x16 sub-tile bounds. For debugging/visualization.
|
|
And fix some obvious mistakes introduced in the
previous instancing commit.
|
|
Fixes lockup triggered by this ingenious shader:
1: CALL :3
2: END
3: BGNSUB ...
|
|
|
|
Shaders should at least have an END instruction.
|
|
The dimension index always addresses the second-dimension axis.
|
|
|
|
Allows declaring a contiguous block of immediates. Useful for
relative indexing.
|
|
It makes no difference with gcc -O3, for example.
|
|
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
glXDestroyContext does not destroy the context if it's still
connected to some window. Unbind context from window to test it.
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
the new relocation for CB_COLOR0_FRAG & CB_COLOR0_TILE add 4
dwords to the default command stream. Increase the prediction
default size to take this into account
|
|
FRAG & TILE buffer are unused but still they need
to be associated with a valid relocation so that
userspace can't try to abuse them to overwritte
GART and then try to write anywhere in system
memory.
|
|
rtype enums are different, DST_REG_OUTPUT got SRC_REG_CONSTANT in some
shaders and produced invalid output/hang
as TEX output is temp register always set out src to SRC_REG_TEMPORARY
|
|
We have broken 1000 FPS. Hell yes.
Heavily inspired by Marek's patch, but using pipebuffer instead of
a roll-your-own malloc.
|
|
As per classic r300.
Not sure why glean/polygonOffset still fails, but we do emit the same register
values as in classic.
|
|
|
|
|
|
Fix a wrong comment and remove an unnecessary #include.
|
|
4 samples should be enough for GLUT to be satisfied, and I think most
of the HW that does any MSAA, can do it.
Note that any pipe that doesn't multisample can just ignore the
corresponding flag in pipe_rasterizer_state.
|
|
Split from the next patch for bisection purposes only.
|
|
|
|
The kernel will decide on its own what to give us.
|
|
X Display was wrongly passed to eglCopyBuffers.
|
|
It uses a slow path to copy the render buffer of the surface to the
target pixmap. We might be able to create a pipe context for
EGLDisplay's use and use a blitter context for the purpose. It is left
for a future consideration.
|
|
The function may be used to support, for example,
EGL_MATCH_NATIVE_PIXMAP and EGL_KHR_image_pixmap.
|
|
A validate call asks for the buffers of a native surface. Using a mask
to represent the interested buffers is more intuitive. It also rules
out corner cases such as a single attachment being listed multiple
times.
|
|
egl_g3d calls st_set_framebuffer_surface on window resize. It updates
the renderbuffer's geometry and makes st_resize_framebuffer a no-op.
This commit improves the no-op check a little bit. It can do better
after gallium-fb-dimensions is merged.
|
|
This removes the last reference to winsys and is per mesa/st.
|
|
This time, INSTANCEID is missing...
|
|
|
|
|
|
Too bad we don't have hw array divisors or a method for
setting startInstance.
|
|
Users of softpipe can still specify thier own winsys
but now there is a default one also that uses malloc.
This allows the malloc winsys to be shared with other
users of softpipe.
|
|
|