Summary: | compute.c:464:49: error: function definition is not allowed here | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | currojerez |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2014-02-18 18:07:59 UTC
compute.c added in commit 20d14ef2633215c5d24741de76b5d59aa3dcbc22. commit 309a186987cea7f62dfd41fef66fac6d79fca96c Author: Francisco Jerez <currojerez@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. Surprised that no one else has noticed this. Still reproducible? If so, with what compiler? (In reply to Matt Turner from comment #2) > Surprised that no one else has noticed this. Still reproducible? If so, with > what compiler? mesa: 8df3c02cdc0a81db43f63e5a93fbae1b3435d23d (master 10.4.0-devel) This build error is still reproducible with clang and --enable-gallium-tests build option. Fixed with "gallium/tests: fix build with clang compiler". http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a49fcfb1f28b563b89f2b37e82d9f87c0671228 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.