intel/aub_read: reuse defines from gen_context
[mesa.git] / src / amd / common / ac_shader_util.h
index 1f971e76f1623db635a8aaae04486c6f1afba784..e4cf2bf57644d8622896543a82c0f7cc163ecb37 100644 (file)
 #define AC_SHADER_UTIL_H
 
 #include <stdbool.h>
+#include <stdint.h>
+
+#include "amd_family.h"
+#include "ac_llvm_build.h"
 
 unsigned
 ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil,
                           bool writes_samplemask);
 
+unsigned
+ac_get_cb_shader_mask(unsigned spi_shader_col_format);
+
+uint32_t
+ac_vgt_gs_mode(unsigned gs_max_vert_out, enum chip_class chip_class);
+
+void
+ac_export_mrt_z(struct ac_llvm_context *ctx, LLVMValueRef depth,
+               LLVMValueRef stencil, LLVMValueRef samplemask,
+               struct ac_export_args *args);
+
 #endif