mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
gallium/tests/trivial: Import compute unit tests.
Add a test program that tries to exercise some of the language
features commonly used by compute programs at the Gallium API level:
- Correctness of the values returned by the grid parameters.
- Proper functioning of resource LOADs and STOREs.
- Subroutine calls.
- Argument passing to the compute parameter through the INPUT
memory space.
- Mapping of buffer objects to the GLOBAL memory space.
- Proper functioning of the PRIVATE and LOCAL memory spaces.
- Texture sampling and constant buffers.
- Support for multiple kernels in the same program.
- Indirect resource indexing.
- Formatted resource loads and stores (i.e. with channel conversion
and scaling) using several different formats.
- Proper functioning of work-group barriers.
- Atomicity and semantics of the atomic opcodes.
As of now all of them seem to pass on my nvA8.
This commit is contained in:
parent
b52a0f2281
commit
309a186987
2 changed files with 1594 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ LINKS += \
|
|||
|
||||
SOURCES = \
|
||||
tri.c \
|
||||
quad-tex.c
|
||||
quad-tex.c \
|
||||
compute.c
|
||||
|
||||
OBJECTS = $(SOURCES:.c=.o)
|
||||
|
||||
|
|
|
|||
1592
src/gallium/tests/trivial/compute.c
Normal file
1592
src/gallium/tests/trivial/compute.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue