aco/radv: convert to aco shader info at the radv level.
This removes the radv shader info type from aco completely. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16342>
This commit is contained in:
@@ -30,8 +30,6 @@
|
||||
|
||||
#include "c11/threads.h"
|
||||
|
||||
#include "vulkan/radv_aco_shader_info.h"
|
||||
|
||||
namespace aco {
|
||||
|
||||
uint64_t debug_flags = 0;
|
||||
@@ -67,13 +65,13 @@ init()
|
||||
}
|
||||
|
||||
void
|
||||
init_program(Program* program, Stage stage, const struct radv_shader_info* info,
|
||||
init_program(Program* program, Stage stage, const struct aco_shader_info* info,
|
||||
enum chip_class chip_class, enum radeon_family family, bool wgp_mode,
|
||||
ac_shader_config* config)
|
||||
{
|
||||
program->stage = stage;
|
||||
program->config = config;
|
||||
radv_aco_convert_shader_info(&program->info, info);
|
||||
program->info = *info;
|
||||
program->chip_class = chip_class;
|
||||
if (family == CHIP_UNKNOWN) {
|
||||
switch (chip_class) {
|
||||
|
Reference in New Issue
Block a user