diff options
author | Francisco Jerez <[email protected]> | 2012-03-20 23:41:09 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-05-11 12:39:44 +0200 |
commit | 309a186987cea7f62dfd41fef66fac6d79fca96c (patch) | |
tree | 66e203c7c6b1238b631dc3ee9a9cdbbfb545d82e /src/gallium/tests/trivial/Makefile | |
parent | b52a0f22813c8e09747ece41173c21f22d4fc369 (diff) |
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.
Diffstat (limited to 'src/gallium/tests/trivial/Makefile')
-rw-r--r-- | src/gallium/tests/trivial/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/Makefile b/src/gallium/tests/trivial/Makefile index bfe186b1607..8c032016538 100644 --- a/src/gallium/tests/trivial/Makefile +++ b/src/gallium/tests/trivial/Makefile @@ -18,7 +18,8 @@ LINKS += \ SOURCES = \ tri.c \ - quad-tex.c + quad-tex.c \ + compute.c OBJECTS = $(SOURCES:.c=.o) |