Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4163>
/* backend IR */
if (p < end) {
p->isText = true;
- if (shader->aco_used) {
+ if (pipeline->device->physical_device->use_aco) {
desc_copy(p->name, "ACO IR");
desc_copy(p->description, "The ACO IR after some optimizations");
} else {
free(binary);
return NULL;
}
- variant->aco_used = device->physical_device->use_aco;
if (options->dump_shader) {
fprintf(stderr, "disasm:\n%s\n", variant->disasm_string);
struct radv_shader_info info;
/* debug only */
- bool aco_used;
char *spirv;
uint32_t spirv_size;
char *nir_string;