ac: add LLVM code for triangle culling
[mesa.git] / src / amd / common / ac_binary.h
index f81b821f82a5d0c5b9c1684309fed9a5a84cdafc..735e393205574e89b65d0d64b1ac9e55501529ad 100644 (file)
@@ -19,9 +19,6 @@
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
- *
- * Authors: Tom Stellard <thomas.stellard@amd.com>
- *
  */
 
 #ifndef AC_BINARY_H
 #include <stdint.h>
 #include <stdbool.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct ac_shader_reloc {
        char name[32];
        uint64_t offset;
@@ -99,5 +100,10 @@ void ac_shader_binary_read_config(struct ac_shader_binary *binary,
                                  struct ac_shader_config *conf,
                                  unsigned symbol_offset,
                                  bool supports_spill);
+void ac_shader_binary_clean(struct ac_shader_binary *b);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* AC_BINARY_H */