Dave Airlie
332b82e6e3
tests: make some functions static.
9 years ago
Marc-André Lureau
83faf22c16
tests: reset last fence before using it
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
9 years ago
Dave Airlie
85602b31bd
renderer: fix regression in shader binding
...
made a mistake in the shader binding code, not good,
time for brown paper bag.
9 years ago
Dave Airlie
81b741a05c
virgl/shaders: handle large shaders.
...
the protocol failed to handle larger shaders, this allow
the renderer to reassemble large shaders and recombined
the chunks before passing them to the GLSL translation.
This also enhances the renderer protocol to allow
for some more info in the shader object, and removes
the separate vs/gs/fs variants in favour of a type field
in the shader.
9 years ago
Dave Airlie
016341850c
tests: align viewports/scissor encoding with mesa.
...
This just realigns some of the encoder code with mesa.
9 years ago
Dave Airlie
c098cd852b
tests: add a test that engages transform feedback
10 years ago
Dave Airlie
052835544f
tests: add overlapping id test
10 years ago
Dave Airlie
c3fc63ff74
tests: add simple geom shader tests
...
Draws a triangle but engages the geom shader in the process.
10 years ago
Dave Airlie
7234a2e25b
tests: use proper handle for surface
...
this fixes the test to use a correct handle.
10 years ago
Dave Airlie
ee3abc1fc8
tests: destory vbo in simple rendering test
10 years ago
Dave Airlie
b76bbe4f22
tests: add simple rendering test
...
This clears a buffer and renders a triangle to it
it just confirms something is drawn
10 years ago
Dave Airlie
bdb49d5636
tests: modify some test utility functions
...
add w/h version for texture 2d
add backed buffer binding fn.
10 years ago
Dave Airlie
27666d855f
tests: add a simple blitter test
...
this just blits a piece from one resource to another, then
reads back the second one.
10 years ago
Dave Airlie
50ccab6f6c
tests: add a simple backed resource creation utility
...
Then hook the cmd stream test into it to use it.
10 years ago
Dave Airlie
31c561de14
tests: add a cmdbuf test that verifies a clear on a buffer.
...
Signed-off-by: Dave Airlie <airlied@redhat.com>
10 years ago