radv: remove radv_shader_variant::aco_used
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>
This commit is contained in:

committed by
Marge Bot

parent
3fea948177
commit
5ea32a6201
@@ -5653,7 +5653,7 @@ VkResult radv_GetPipelineExecutableInternalRepresentationsKHR(
|
|||||||
/* backend IR */
|
/* backend IR */
|
||||||
if (p < end) {
|
if (p < end) {
|
||||||
p->isText = true;
|
p->isText = true;
|
||||||
if (shader->aco_used) {
|
if (pipeline->device->physical_device->use_aco) {
|
||||||
desc_copy(p->name, "ACO IR");
|
desc_copy(p->name, "ACO IR");
|
||||||
desc_copy(p->description, "The ACO IR after some optimizations");
|
desc_copy(p->description, "The ACO IR after some optimizations");
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1160,7 +1160,6 @@ shader_variant_compile(struct radv_device *device,
|
|||||||
free(binary);
|
free(binary);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
variant->aco_used = device->physical_device->use_aco;
|
|
||||||
|
|
||||||
if (options->dump_shader) {
|
if (options->dump_shader) {
|
||||||
fprintf(stderr, "disasm:\n%s\n", variant->disasm_string);
|
fprintf(stderr, "disasm:\n%s\n", variant->disasm_string);
|
||||||
|
@@ -372,7 +372,6 @@ struct radv_shader_variant {
|
|||||||
struct radv_shader_info info;
|
struct radv_shader_info info;
|
||||||
|
|
||||||
/* debug only */
|
/* debug only */
|
||||||
bool aco_used;
|
|
||||||
char *spirv;
|
char *spirv;
|
||||||
uint32_t spirv_size;
|
uint32_t spirv_size;
|
||||||
char *nir_string;
|
char *nir_string;
|
||||||
|
Reference in New Issue
Block a user