Module: Mesa Branch: gallium-compute Commit: 68e4ec963d66efe087b66d36f4222e91e721b7fb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68e4ec963d66efe087b66d36f4222e91e721b7fb
Author: Francisco Jerez <curroje...@riseup.net> Date: Tue Mar 20 23:41:09 2012 +0100 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. --- src/gallium/tests/trivial/Makefile | 3 +- src/gallium/tests/trivial/compute.c | 1551 +++++++++++++++++++++++++++++++++++ 2 files changed, 1553 insertions(+), 1 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=68e4ec963d66efe087b66d36f4222e91e721b7fb _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit