ac/rtld: report better error messages for LDS overallocation
[mesa.git] / src / amd / common / ac_rtld.h
index b13270b181d43c61afa67bb2137b9db29bd8ca22..3f60444f85e12766046e3ea2dba531e93c73bfcb 100644 (file)
@@ -29,6 +29,7 @@
 #include <stddef.h>
 
 #include "util/u_dynarray.h"
+#include "compiler/shader_enums.h"
 
 struct ac_rtld_part;
 struct ac_shader_config;
@@ -84,6 +85,7 @@ typedef bool (*ac_rtld_get_external_symbol_cb)(
 struct ac_rtld_open_info {
        const struct radeon_info *info;
        struct ac_rtld_options options;
+       gl_shader_stage shader_type;
 
        unsigned num_parts;
        const char * const *elf_ptrs; /* in-memory ELF objects of each part */