mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
mesa: fix struct/class mismatch
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
6000895e2d
commit
2894e278cf
4 changed files with 5 additions and 5 deletions
|
|
@ -5594,7 +5594,7 @@ glsl_to_tgsi_visitor::split_arrays(void)
|
|||
void
|
||||
glsl_to_tgsi_visitor::merge_registers(void)
|
||||
{
|
||||
struct array_live_range *arr_live_ranges = NULL;
|
||||
class array_live_range *arr_live_ranges = NULL;
|
||||
|
||||
struct register_live_range *reg_live_ranges =
|
||||
rzalloc_array(mem_ctx, struct register_live_range, this->next_temp);
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ using namespace tgsi_array_merge;
|
|||
int merge_arrays(int narrays,
|
||||
unsigned *array_sizes,
|
||||
exec_list *instructions,
|
||||
struct array_live_range *arr_live_ranges)
|
||||
class array_live_range *arr_live_ranges)
|
||||
{
|
||||
array_remapping *map= new array_remapping[narrays + 1];
|
||||
|
||||
|
|
|
|||
|
|
@ -184,5 +184,5 @@ int remap_arrays(int narrays, unsigned *array_sizes,
|
|||
int merge_arrays(int narrays,
|
||||
unsigned *array_sizes,
|
||||
exec_list *instructions,
|
||||
struct array_live_range *arr_live_ranges);
|
||||
class array_live_range *arr_live_ranges);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1087,7 +1087,7 @@ void access_recorder::record_write(const st_dst_reg& dst, int line,
|
|||
}
|
||||
|
||||
void access_recorder::get_required_live_ranges(struct register_live_range *register_live_ranges,
|
||||
struct array_live_range *array_live_ranges)
|
||||
class array_live_range *array_live_ranges)
|
||||
{
|
||||
RENAME_DEBUG(debug_log << "== register live ranges ==========\n");
|
||||
for(int i = 0; i < ntemps; ++i) {
|
||||
|
|
@ -1122,7 +1122,7 @@ static void dump_instruction(ostream& os, int line, prog_scope *scope,
|
|||
bool
|
||||
get_temp_registers_required_live_ranges(void *mem_ctx, exec_list *instructions,
|
||||
int ntemps, struct register_live_range *register_live_ranges,
|
||||
int narrays, struct array_live_range *array_live_ranges)
|
||||
int narrays, class array_live_range *array_live_ranges)
|
||||
{
|
||||
int line = 0;
|
||||
int loop_id = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue