Lines Matching refs:indent

121 #define pan_print(fp, T, var, indent)                   \
122 PREFIX2(T, print)(fp, &(var), indent)
144 #define pan_section_print(fp, A, S, var, indent) \
145 PREFIX4(A, SECTION, S, print)(fp, &(var), indent)
159 fprintf(fp, "%*sFormat (v6): %s%s%s %s%s%s%s\n", indent, "", \
1115 MALI_ATTRIBUTE_print(FILE *fp, const struct MALI_ATTRIBUTE * values, unsigned indent)
1117 fprintf(fp, "%*sBuffer index: %u\n", indent, "", values->buffer_index);
1118 fprintf(fp, "%*sOffset enable: %s\n", indent, "", values->offset_enable ? "true" : "false");
1120 fprintf(fp, "%*sOffset: %d\n", indent, "", values->offset);
1173 MALI_ATTRIBUTE_BUFFER_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER * values, unsigned indent)
1175 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1176 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
1177 fprintf(fp, "%*sStride: %u\n", indent, "", values->stride);
1178 fprintf(fp, "%*sSize: %u\n", indent, "", values->size);
1179 fprintf(fp, "%*sDivisor: %u\n", indent, "", values->divisor);
1180 fprintf(fp, "%*sDivisor R: %u\n", indent, "", values->divisor_r);
1181 fprintf(fp, "%*sDivisor P: %u\n", indent, "", values->divisor_p);
1182 fprintf(fp, "%*sDivisor E: %u\n", indent, "", values->divisor_e);
1219 MALI_ATTRIBUTE_BUFFER_CONTINUATION_NPOT_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER_CONTINUATION_NPOT * values, unsigned indent)
1221 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1222 fprintf(fp, "%*sDivisor Numerator: %u\n", indent, "", values->divisor_numerator);
1223 fprintf(fp, "%*sDivisor: %u\n", indent, "", values->divisor);
1270 MALI_ATTRIBUTE_BUFFER_CONTINUATION_3D_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER_CONTINUATION_3D * values, unsigned indent)
1272 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1273 fprintf(fp, "%*sS dimension: %u\n", indent, "", values->s_dimension);
1274 fprintf(fp, "%*sT dimension: %u\n", indent, "", values->t_dimension);
1275 fprintf(fp, "%*sR dimension: %u\n", indent, "", values->r_dimension);
1276 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
1277 fprintf(fp, "%*sSlice Stride: %u\n", indent, "", values->slice_stride);
1354 MALI_BLEND_FUNCTION_print(FILE *fp, const struct MALI_BLEND_FUNCTION * values, unsigned indent)
1356 fprintf(fp, "%*sA: %s\n", indent, "", mali_blend_operand_a_as_str(values->a));
1357 fprintf(fp, "%*sNegate A: %s\n", indent, "", values->negate_a ? "true" : "false");
1358 fprintf(fp, "%*sB: %s\n", indent, "", mali_blend_operand_b_as_str(values->b));
1359 fprintf(fp, "%*sNegate B: %s\n", indent, "", values->negate_b ? "true" : "false");
1360 fprintf(fp, "%*sC: %s\n", indent, "", mali_blend_operand_c_as_str(values->c));
1361 fprintf(fp, "%*sInvert C: %s\n", indent, "", values->invert_c ? "true" : "false");
1417 MALI_BLEND_EQUATION_print(FILE *fp, const struct MALI_BLEND_EQUATION * values, unsigned indent)
1419 fprintf(fp, "%*sRGB:\n", indent, "");
1420 MALI_BLEND_FUNCTION_print(fp, &values->rgb, indent + 2);
1421 fprintf(fp, "%*sAlpha:\n", indent, "");
1422 MALI_BLEND_FUNCTION_print(fp, &values->alpha, indent + 2);
1423 fprintf(fp, "%*sColor Mask: %u\n", indent, "", values->color_mask);
1532 MALI_BLEND_SHADER_print(FILE *fp, const struct MALI_BLEND_SHADER * values, unsigned indent)
1534 fprintf(fp, "%*sReturn Value: %u\n", indent, "", values->return_value);
1535 fprintf(fp, "%*sPC: %u\n", indent, "", values->pc);
1570 MALI_INTERNAL_CONVERSION_print(FILE *fp, const struct MALI_INTERNAL_CONVERSION * values, unsigned indent)
1573 fprintf(fp, "%*sRaw: %s\n", indent, "", values->raw ? "true" : "false");
1574 fprintf(fp, "%*sRegister Format: %s\n", indent, "", mali_register_file_format_as_str(values->register_format));
1623 MALI_BLEND_FIXED_FUNCTION_print(FILE *fp, const struct MALI_BLEND_FIXED_FUNCTION * values, unsigned indent)
1625 fprintf(fp, "%*sNum Comps: %u\n", indent, "", values->num_comps);
1626 fprintf(fp, "%*sAlpha Zero NOP: %s\n", indent, "", values->alpha_zero_nop ? "true" : "false");
1627 fprintf(fp, "%*sAlpha One Store: %s\n", indent, "", values->alpha_one_store ? "true" : "false");
1628 fprintf(fp, "%*sRT: %u\n", indent, "", values->rt);
1629 fprintf(fp, "%*sConversion:\n", indent, "");
1630 MALI_INTERNAL_CONVERSION_print(fp, &values->conversion, indent + 2);
1680 MALI_INTERNAL_BLEND_print(FILE *fp, const struct MALI_INTERNAL_BLEND * values, unsigned indent)
1682 fprintf(fp, "%*sMode: %s\n", indent, "", mali_blend_mode_as_str(values->mode));
1683 fprintf(fp, "%*sShader:\n", indent, "");
1684 MALI_BLEND_SHADER_print(fp, &values->shader, indent + 2);
1685 fprintf(fp, "%*sFixed-Function:\n", indent, "");
1686 MALI_BLEND_FIXED_FUNCTION_print(fp, &values->fixed_function, indent + 2);
1786 MALI_BLEND_print(FILE *fp, const struct MALI_BLEND * values, unsigned indent)
1788 fprintf(fp, "%*sLoad Destination: %s\n", indent, "", values->load_destination ? "true" : "false");
1789 fprintf(fp, "%*sAlpha To One: %s\n", indent, "", values->alpha_to_one ? "true" : "false");
1790 fprintf(fp, "%*sEnable: %s\n", indent, "", values->enable ? "true" : "false");
1791 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
1792 fprintf(fp, "%*sRound to FB precision: %s\n", indent, "", values->round_to_fb_precision ? "true" : "false");
1793 fprintf(fp, "%*sConstant: %u\n", indent, "", values->constant);
1794 fprintf(fp, "%*sEquation:\n", indent, "");
1795 MALI_BLEND_EQUATION_print(fp, &values->equation, indent + 2);
1796 fprintf(fp, "%*sInternal:\n", indent, "");
1797 MALI_INTERNAL_BLEND_print(fp, &values->internal, indent + 2);
1844 MALI_INVOCATION_print(FILE *fp, const struct MALI_INVOCATION * values, unsigned indent)
1846 fprintf(fp, "%*sInvocations: %u\n", indent, "", values->invocations);
1847 fprintf(fp, "%*sSize Y shift: %u\n", indent, "", values->size_y_shift);
1848 fprintf(fp, "%*sSize Z shift: %u\n", indent, "", values->size_z_shift);
1849 fprintf(fp, "%*sWorkgroups X shift: %u\n", indent, "", values->workgroups_x_shift);
1850 fprintf(fp, "%*sWorkgroups Y shift: %u\n", indent, "", values->workgroups_y_shift);
1851 fprintf(fp, "%*sWorkgroups Z shift: %u\n", indent, "", values->workgroups_z_shift);
1852 fprintf(fp, "%*sThread group split: %u\n", indent, "", values->thread_group_split);
1963 MALI_PRIMITIVE_print(FILE *fp, const struct MALI_PRIMITIVE * values, unsigned indent)
1965 fprintf(fp, "%*sDraw mode: %s\n", indent, "", mali_draw_mode_as_str(values->draw_mode));
1966 fprintf(fp, "%*sIndex type: %s\n", indent, "", mali_index_type_as_str(values->index_type));
1967 fprintf(fp, "%*sPoint size array format: %s\n", indent, "", mali_point_size_array_format_as_str(values->point_size_array_format));
1968 fprintf(fp, "%*sPrimitive Index Enable: %s\n", indent, "", values->primitive_index_enable ? "true" : "false");
1969 fprintf(fp, "%*sPrimitive Index Writeback: %s\n", indent, "", values->primitive_index_writeback ? "true" : "false");
1970 fprintf(fp, "%*sFirst provoking vertex: %s\n", indent, "", values->first_provoking_vertex ? "true" : "false");
1971 fprintf(fp, "%*sLow Depth Cull: %s\n", indent, "", values->low_depth_cull ? "true" : "false");
1972 fprintf(fp, "%*sHigh Depth Cull: %s\n", indent, "", values->high_depth_cull ? "true" : "false");
1973 fprintf(fp, "%*sSecondary Shader: %s\n", indent, "", values->secondary_shader ? "true" : "false");
1974 fprintf(fp, "%*sPrimitive restart: %s\n", indent, "", mali_primitive_restart_as_str(values->primitive_restart));
1975 fprintf(fp, "%*sJob Task Split: %u\n", indent, "", values->job_task_split);
1976 fprintf(fp, "%*sBase vertex offset: %u\n", indent, "", values->base_vertex_offset);
1977 fprintf(fp, "%*sPrimitive Restart Index: %u\n", indent, "", values->primitive_restart_index);
1978 fprintf(fp, "%*sIndex count: %u\n", indent, "", values->index_count);
1979 fprintf(fp, "%*sIndices: 0x%" PRIx64 "\n", indent, "", values->indices);
2112 MALI_DRAW_print(FILE *fp, const struct MALI_DRAW * values, unsigned indent)
2114 fprintf(fp, "%*sFour Components Per Vertex: %s\n", indent, "", values->four_components_per_vertex ? "true" : "false");
2115 fprintf(fp, "%*sDraw Descriptor Is 64b: %s\n", indent, "", values->draw_descriptor_is_64b ? "true" : "false");
2116 fprintf(fp, "%*sOcclusion query: %s\n", indent, "", mali_occlusion_mode_as_str(values->occlusion_query));
2117 fprintf(fp, "%*sFront face CCW: %s\n", indent, "", values->front_face_ccw ? "true" : "false");
2118 fprintf(fp, "%*sCull front face: %s\n", indent, "", values->cull_front_face ? "true" : "false");
2119 fprintf(fp, "%*sCull back face: %s\n", indent, "", values->cull_back_face ? "true" : "false");
2120 fprintf(fp, "%*sFlat Shading Vertex: %u\n", indent, "", values->flat_shading_vertex);
2121 fprintf(fp, "%*sExclude Filtered Perf Counters: %s\n", indent, "", values->exclude_filtered_perf_counters ? "true" : "false");
2122 fprintf(fp, "%*sPrimitive Barrier: %s\n", indent, "", values->primitive_barrier ? "true" : "false");
2123 fprintf(fp, "%*sClean Fragment Write: %s\n", indent, "", values->clean_fragment_write ? "true" : "false");
2124 fprintf(fp, "%*sInstance Size: %u\n", indent, "", values->instance_size);
2125 fprintf(fp, "%*sInstance Primitive Size: %u\n", indent, "", values->instance_primitive_size);
2126 fprintf(fp, "%*sOffset start: %u\n", indent, "", values->offset_start);
2127 fprintf(fp, "%*sPrimitive Index Base: %u\n", indent, "", values->primitive_index_base);
2128 fprintf(fp, "%*sPosition: 0x%" PRIx64 "\n", indent, "", values->position);
2129 fprintf(fp, "%*sUniform buffers: 0x%" PRIx64 "\n", indent, "", values->uniform_buffers);
2130 fprintf(fp, "%*sTextures: 0x%" PRIx64 "\n", indent, "", values->textures);
2131 fprintf(fp, "%*sSamplers: 0x%" PRIx64 "\n", indent, "", values->samplers);
2132 fprintf(fp, "%*sPush uniforms: 0x%" PRIx64 "\n", indent, "", values->push_uniforms);
2133 fprintf(fp, "%*sState: 0x%" PRIx64 "\n", indent, "", values->state);
2134 fprintf(fp, "%*sAttribute buffers: 0x%" PRIx64 "\n", indent, "", values->attribute_buffers);
2135 fprintf(fp, "%*sAttributes: 0x%" PRIx64 "\n", indent, "", values->attributes);
2136 fprintf(fp, "%*sVarying buffers: 0x%" PRIx64 "\n", indent, "", values->varying_buffers);
2137 fprintf(fp, "%*sVaryings: 0x%" PRIx64 "\n", indent, "", values->varyings);
2138 fprintf(fp, "%*sViewport: 0x%" PRIx64 "\n", indent, "", values->viewport);
2139 fprintf(fp, "%*sOcclusion: 0x%" PRIx64 "\n", indent, "", values->occlusion);
2140 fprintf(fp, "%*sThread Storage: 0x%" PRIx64 "\n", indent, "", values->thread_storage);
2141 fprintf(fp, "%*sFBD: 0x%" PRIx64 "\n", indent, "", values->fbd);
2171 MALI_SURFACE_print(FILE *fp, const struct MALI_SURFACE * values, unsigned indent)
2173 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
2209 MALI_SURFACE_WITH_STRIDE_print(FILE *fp, const struct MALI_SURFACE_WITH_STRIDE * values, unsigned indent)
2211 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
2212 fprintf(fp, "%*sRow stride: %d\n", indent, "", values->row_stride);
2213 fprintf(fp, "%*sSurface stride: %d\n", indent, "", values->surface_stride);
2339 MALI_SAMPLER_print(FILE *fp, const struct MALI_SAMPLER * values, unsigned indent)
2341 fprintf(fp, "%*sType: %u\n", indent, "", values->type);
2342 fprintf(fp, "%*sWrap Mode R: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_r));
2343 fprintf(fp, "%*sWrap Mode T: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_t));
2344 fprintf(fp, "%*sWrap Mode S: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_s));
2345 fprintf(fp, "%*sRound to nearest even: %s\n", indent, "", values->round_to_nearest_even ? "true" : "false");
2346 fprintf(fp, "%*ssRGB override: %s\n", indent, "", values->srgb_override ? "true" : "false");
2347 fprintf(fp, "%*sSeamless Cube Map: %s\n", indent, "", values->seamless_cube_map ? "true" : "false");
2348 fprintf(fp, "%*sClamp integer coordinates: %s\n", indent, "", values->clamp_integer_coordinates ? "true" : "false");
2349 fprintf(fp, "%*sNormalized Coordinates: %s\n", indent, "", values->normalized_coordinates ? "true" : "false");
2350 fprintf(fp, "%*sClamp integer array indices: %s\n", indent, "", values->clamp_integer_array_indices ? "true" : "false");
2351 fprintf(fp, "%*sMinify nearest: %s\n", indent, "", values->minify_nearest ? "true" : "false");
2352 fprintf(fp, "%*sMagnify nearest: %s\n", indent, "", values->magnify_nearest ? "true" : "false");
2353 fprintf(fp, "%*sMagnify cutoff: %s\n", indent, "", values->magnify_cutoff ? "true" : "false");
2354 fprintf(fp, "%*sMipmap Mode: %s\n", indent, "", mali_mipmap_mode_as_str(values->mipmap_mode));
2355 fprintf(fp, "%*sMinimum LOD: %u\n", indent, "", values->minimum_lod);
2356 fprintf(fp, "%*sCompare Function: %s\n", indent, "", mali_func_as_str(values->compare_function));
2357 fprintf(fp, "%*sMaximum LOD: %u\n", indent, "", values->maximum_lod);
2358 fprintf(fp, "%*sLOD bias: %d\n", indent, "", values->lod_bias);
2359 fprintf(fp, "%*sMaximum anisotropy: %u\n", indent, "", values->maximum_anisotropy);
2360 fprintf(fp, "%*sLOD algorithm: %s\n", indent, "", mali_lod_algorithm_as_str(values->lod_algorithm));
2361 fprintf(fp, "%*sBorder Color R: 0x%X (%f)\n", indent, "", values->border_color_r, uif(values->border_color_r));
2362 fprintf(fp, "%*sBorder Color G: 0x%X (%f)\n", indent, "", values->border_color_g, uif(values->border_color_g));
2363 fprintf(fp, "%*sBorder Color B: 0x%X (%f)\n", indent, "", values->border_color_b, uif(values->border_color_b));
2364 fprintf(fp, "%*sBorder Color A: 0x%X (%f)\n", indent, "", values->border_color_a, uif(values->border_color_a));
2461 MALI_TEXTURE_print(FILE *fp, const struct MALI_TEXTURE * values, unsigned indent)
2463 fprintf(fp, "%*sType: %u\n", indent, "", values->type);
2464 fprintf(fp, "%*sDimension: %s\n", indent, "", mali_texture_dimension_as_str(values->dimension));
2465 fprintf(fp, "%*sSample corner position: %s\n", indent, "", values->sample_corner_position ? "true" : "false");
2466 fprintf(fp, "%*sNormalize coordinates: %s\n", indent, "", values->normalize_coordinates ? "true" : "false");
2468 fprintf(fp, "%*sWidth: %u\n", indent, "", values->width);
2469 fprintf(fp, "%*sHeight: %u\n", indent, "", values->height);
2470 fprintf(fp, "%*sSwizzle: %u\n", indent, "", values->swizzle);
2471 fprintf(fp, "%*sTexel ordering: %s\n", indent, "", mali_texture_layout_as_str(values->texel_ordering));
2472 fprintf(fp, "%*sLevels: %u\n", indent, "", values->levels);
2473 fprintf(fp, "%*sMinimum level: %u\n", indent, "", values->minimum_level);
2474 fprintf(fp, "%*sMinimum LOD: %u\n", indent, "", values->minimum_lod);
2475 fprintf(fp, "%*sSample count: %u\n", indent, "", values->sample_count);
2476 fprintf(fp, "%*sMaximum LOD: %u\n", indent, "", values->maximum_lod);
2477 fprintf(fp, "%*sSurfaces: 0x%" PRIx64 "\n", indent, "", values->surfaces);
2478 fprintf(fp, "%*sArray size: %u\n", indent, "", values->array_size);
2479 fprintf(fp, "%*sDepth: %u\n", indent, "", values->depth);
2553 MALI_RENDERER_PROPERTIES_print(FILE *fp, const struct MALI_RENDERER_PROPERTIES * values, unsigned indent)
2555 fprintf(fp, "%*sUniform buffer count: %u\n", indent, "", values->uniform_buffer_count);
2556 fprintf(fp, "%*sDepth source: %s\n", indent, "", mali_depth_source_as_str(values->depth_source));
2557 fprintf(fp, "%*sShader contains barrier: %s\n", indent, "", values->shader_contains_barrier ? "true" : "false");
2558 fprintf(fp, "%*sShader register allocation: %s\n", indent, "", mali_shader_register_allocation_as_str(values->shader_register_allocation));
2559 fprintf(fp, "%*sShader modifies coverage: %s\n", indent, "", values->shader_modifies_coverage ? "true" : "false");
2560 fprintf(fp, "%*sAllow forward pixel to kill: %s\n", indent, "", values->allow_forward_pixel_to_kill ? "true" : "false");
2561 fprintf(fp, "%*sAllow forward pixel to be killed: %s\n", indent, "", values->allow_forward_pixel_to_be_killed ? "true" : "false");
2562 fprintf(fp, "%*sPixel kill operation: %s\n", indent, "", mali_pixel_kill_as_str(values->pixel_kill_operation));
2563 fprintf(fp, "%*sZS update operation: %s\n", indent, "", mali_pixel_kill_as_str(values->zs_update_operation));
2564 fprintf(fp, "%*sPoint sprite coord origin max Y: %s\n", indent, "", values->point_sprite_coord_origin_max_y ? "true" : "false");
2565 fprintf(fp, "%*sStencil from shader: %s\n", indent, "", values->stencil_from_shader ? "true" : "false");
2584 MALI_COMPUTE_PRELOAD_print(FILE *fp, const struct MALI_COMPUTE_PRELOAD * values, unsigned indent)
2586 fprintf(fp, "%*sPC: %s\n", indent, "", values->pc ? "true" : "false");
2587 fprintf(fp, "%*sLocal Invocation XY: %s\n", indent, "", values->local_invocation_xy ? "true" : "false");
2588 fprintf(fp, "%*sLocal Invocation Z: %s\n", indent, "", values->local_invocation_z ? "true" : "false");
2589 fprintf(fp, "%*sWork group X: %s\n", indent, "", values->work_group_x ? "true" : "false");
2590 fprintf(fp, "%*sWork group Y: %s\n", indent, "", values->work_group_y ? "true" : "false");
2591 fprintf(fp, "%*sWork group Z: %s\n", indent, "", values->work_group_z ? "true" : "false");
2592 fprintf(fp, "%*sGlobal Invocation X: %s\n", indent, "", values->global_invocation_x ? "true" : "false");
2593 fprintf(fp, "%*sGlobal Invocation Y: %s\n", indent, "", values->global_invocation_y ? "true" : "false");
2594 fprintf(fp, "%*sGlobal Invocation Z: %s\n", indent, "", values->global_invocation_z ? "true" : "false");
2629 MALI_VERTEX_PRELOAD_print(FILE *fp, const struct MALI_VERTEX_PRELOAD * values, unsigned indent)
2631 fprintf(fp, "%*sWarp limit: %s\n", indent, "", mali_warp_limit_as_str(values->warp_limit));
2632 fprintf(fp, "%*sPC: %s\n", indent, "", values->pc ? "true" : "false");
2633 fprintf(fp, "%*sPosition result address lo: %s\n", indent, "", values->position_result_address_lo ? "true" : "false");
2634 fprintf(fp, "%*sPosition result address hi: %s\n", indent, "", values->position_result_address_hi ? "true" : "false");
2635 fprintf(fp, "%*sVertex ID: %s\n", indent, "", values->vertex_id ? "true" : "false");
2636 fprintf(fp, "%*sInstance ID: %s\n", indent, "", values->instance_id ? "true" : "false");
2652 MALI_FRAGMENT_PRELOAD_print(FILE *fp, const struct MALI_FRAGMENT_PRELOAD * values, unsigned indent)
2654 fprintf(fp, "%*sPC: %s\n", indent, "", values->pc ? "true" : "false");
2655 fprintf(fp, "%*sCoverage: %s\n", indent, "", values->coverage ? "true" : "false");
2656 fprintf(fp, "%*sPrimitive ID: %s\n", indent, "", values->primitive_id ? "true" : "false");
2657 fprintf(fp, "%*sPrimitive flags: %s\n", indent, "", values->primitive_flags ? "true" : "false");
2658 fprintf(fp, "%*sFragment position: %s\n", indent, "", values->fragment_position ? "true" : "false");
2659 fprintf(fp, "%*sSample mask/ID: %s\n", indent, "", values->sample_mask_id ? "true" : "false");
2735 MALI_PRELOAD_print(FILE *fp, const struct MALI_PRELOAD * values, unsigned indent)
2737 fprintf(fp, "%*sCompute:\n", indent, "");
2738 MALI_COMPUTE_PRELOAD_print(fp, &values->compute, indent + 2);
2739 fprintf(fp, "%*sVertex:\n", indent, "");
2740 MALI_VERTEX_PRELOAD_print(fp, &values->vertex, indent + 2);
2741 fprintf(fp, "%*sFragment:\n", indent, "");
2742 MALI_FRAGMENT_PRELOAD_print(fp, &values->fragment, indent + 2);
2743 fprintf(fp, "%*sUniform count: %u\n", indent, "", values->uniform_count);
2784 MALI_SHADER_print(FILE *fp, const struct MALI_SHADER * values, unsigned indent)
2786 fprintf(fp, "%*sShader: 0x%" PRIx64 "\n", indent, "", values->shader);
2787 fprintf(fp, "%*sSampler count: %u\n", indent, "", values->sampler_count);
2788 fprintf(fp, "%*sTexture count: %u\n", indent, "", values->texture_count);
2789 fprintf(fp, "%*sAttribute count: %u\n", indent, "", values->attribute_count);
2790 fprintf(fp, "%*sVarying count: %u\n", indent, "", values->varying_count);
2858 MALI_MULTISAMPLE_MISC_print(FILE *fp, const struct MALI_MULTISAMPLE_MISC * values, unsigned indent)
2860 fprintf(fp, "%*sSample mask: %u\n", indent, "", values->sample_mask);
2861 fprintf(fp, "%*sMultisample enable: %s\n", indent, "", values->multisample_enable ? "true" : "false");
2862 fprintf(fp, "%*sMultisample late coverage: %s\n", indent, "", values->multisample_late_coverage ? "true" : "false");
2863 fprintf(fp, "%*sEvaluate per-sample: %s\n", indent, "", values->evaluate_per_sample ? "true" : "false");
2864 fprintf(fp, "%*sFixed-function depth range fixed: %s\n", indent, "", values->fixed_function_depth_range_fixed ? "true" : "false");
2865 fprintf(fp, "%*sShader depth range fixed: %s\n", indent, "", values->shader_depth_range_fixed ? "true" : "false");
2866 fprintf(fp, "%*sOverdraw alpha1: %s\n", indent, "", values->overdraw_alpha1 ? "true" : "false");
2867 fprintf(fp, "%*sOverdraw alpha0: %s\n", indent, "", values->overdraw_alpha0 ? "true" : "false");
2868 fprintf(fp, "%*sDepth function: %s\n", indent, "", mali_func_as_str(values->depth_function));
2869 fprintf(fp, "%*sDepth write mask: %s\n", indent, "", values->depth_write_mask ? "true" : "false");
2870 fprintf(fp, "%*sFixed-function near discard: %s\n", indent, "", values->fixed_function_near_discard ? "true" : "false");
2871 fprintf(fp, "%*sFixed-function far discard: %s\n", indent, "", values->fixed_function_far_discard ? "true" : "false");
2872 fprintf(fp, "%*sFragment near discard: %s\n", indent, "", values->fragment_near_discard ? "true" : "false");
2873 fprintf(fp, "%*sFragment far discard: %s\n", indent, "", values->fragment_far_discard ? "true" : "false");
2932 MALI_STENCIL_MASK_MISC_print(FILE *fp, const struct MALI_STENCIL_MASK_MISC * values, unsigned indent)
2934 fprintf(fp, "%*sStencil mask front: %u\n", indent, "", values->stencil_mask_front);
2935 fprintf(fp, "%*sStencil mask back: %u\n", indent, "", values->stencil_mask_back);
2936 fprintf(fp, "%*sStencil enable: %s\n", indent, "", values->stencil_enable ? "true" : "false");
2937 fprintf(fp, "%*sAlpha-to-coverage: %s\n", indent, "", values->alpha_to_coverage ? "true" : "false");
2938 fprintf(fp, "%*sAlpha-to-coverage Invert: %s\n", indent, "", values->alpha_to_coverage_invert ? "true" : "false");
2939 fprintf(fp, "%*sAlpha test compare function: %s\n", indent, "", mali_func_as_str(values->alpha_test_compare_function));
2940 fprintf(fp, "%*sForce seamless cubemaps: %s\n", indent, "", values->force_seamless_cubemaps ? "true" : "false");
2941 fprintf(fp, "%*sDepth Range 1: %s\n", indent, "", values->depth_range_1 ? "true" : "false");
2942 fprintf(fp, "%*sDepth Range 2: %s\n", indent, "", values->depth_range_2 ? "true" : "false");
2943 fprintf(fp, "%*sSingle-sampled lines: %s\n", indent, "", values->single_sampled_lines ? "true" : "false");
2944 fprintf(fp, "%*sPoint snap: %s\n", indent, "", values->point_snap ? "true" : "false");
2988 MALI_STENCIL_print(FILE *fp, const struct MALI_STENCIL * values, unsigned indent)
2990 fprintf(fp, "%*sReference Value: %u\n", indent, "", values->reference_value);
2991 fprintf(fp, "%*sMask: %u\n", indent, "", values->mask);
2992 fprintf(fp, "%*sCompare Function: %s\n", indent, "", mali_func_as_str(values->compare_function));
2993 fprintf(fp, "%*sStencil Fail: %s\n", indent, "", mali_stencil_op_as_str(values->stencil_fail));
2994 fprintf(fp, "%*sDepth Fail: %s\n", indent, "", mali_stencil_op_as_str(values->depth_fail));
2995 fprintf(fp, "%*sDepth Pass: %s\n", indent, "", mali_stencil_op_as_str(values->depth_pass));
3008 MALI_LD_VAR_PRELOAD_print(FILE *fp, const struct MALI_LD_VAR_PRELOAD * values, unsigned indent)
3010 fprintf(fp, "%*sVarying Index: %u\n", indent, "", values->varying_index);
3011 fprintf(fp, "%*sRegister Format: %s\n", indent, "", mali_message_preload_register_format_as_str(values->register_format));
3012 fprintf(fp, "%*sNum Components: %u\n", indent, "", values->num_components);
3027 MALI_VAR_TEX_PRELOAD_print(FILE *fp, const struct MALI_VAR_TEX_PRELOAD * values, unsigned indent)
3029 fprintf(fp, "%*sVarying Index: %u\n", indent, "", values->varying_index);
3030 fprintf(fp, "%*sSampler Index: %u\n", indent, "", values->sampler_index);
3031 fprintf(fp, "%*sRegister Format: %s\n", indent, "", mali_message_preload_register_format_as_str(values->register_format));
3032 fprintf(fp, "%*sSkip: %s\n", indent, "", values->skip ? "true" : "false");
3033 fprintf(fp, "%*sZero LOD: %s\n", indent, "", values->zero_lod ? "true" : "false");
3081 MALI_MESSAGE_PRELOAD_print(FILE *fp, const struct MALI_MESSAGE_PRELOAD * values, unsigned indent)
3083 fprintf(fp, "%*sType: %s\n", indent, "", mali_message_type_as_str(values->type));
3084 fprintf(fp, "%*sLD_VAR:\n", indent, "");
3085 MALI_LD_VAR_PRELOAD_print(fp, &values->ld_var, indent + 2);
3086 fprintf(fp, "%*sVAR_TEX:\n", indent, "");
3087 MALI_VAR_TEX_PRELOAD_print(fp, &values->var_tex, indent + 2);
3348 MALI_RENDERER_STATE_print(FILE *fp, const struct MALI_RENDERER_STATE * values, unsigned indent)
3350 fprintf(fp, "%*sShader:\n", indent, "");
3351 MALI_SHADER_print(fp, &values->shader, indent + 2);
3352 fprintf(fp, "%*sProperties:\n", indent, "");
3353 MALI_RENDERER_PROPERTIES_print(fp, &values->properties, indent + 2);
3354 fprintf(fp, "%*sDepth units: %f\n", indent, "", values->depth_units);
3355 fprintf(fp, "%*sDepth factor: %f\n", indent, "", values->depth_factor);
3356 fprintf(fp, "%*sDepth bias clamp: %f\n", indent, "", values->depth_bias_clamp);
3357 fprintf(fp, "%*sMultisample, Misc:\n", indent, "");
3358 MALI_MULTISAMPLE_MISC_print(fp, &values->multisample_misc, indent + 2);
3359 fprintf(fp, "%*sStencil Mask, Misc:\n", indent, "");
3360 MALI_STENCIL_MASK_MISC_print(fp, &values->stencil_mask_misc, indent + 2);
3361 fprintf(fp, "%*sStencil front:\n", indent, "");
3362 MALI_STENCIL_print(fp, &values->stencil_front, indent + 2);
3363 fprintf(fp, "%*sStencil back:\n", indent, "");
3364 MALI_STENCIL_print(fp, &values->stencil_back, indent + 2);
3365 fprintf(fp, "%*sPreload:\n", indent, "");
3366 MALI_PRELOAD_print(fp, &values->preload, indent + 2);
3367 fprintf(fp, "%*sAlpha reference: %f\n", indent, "", values->alpha_reference);
3368 fprintf(fp, "%*sThread Balancing: %u\n", indent, "", values->thread_balancing);
3369 fprintf(fp, "%*sSecondary preload:\n", indent, "");
3370 MALI_PRELOAD_print(fp, &values->secondary_preload, indent + 2);
3371 fprintf(fp, "%*sSecondary shader: 0x%" PRIx64 "\n", indent, "", values->secondary_shader);
3406 MALI_UNIFORM_BUFFER_print(FILE *fp, const struct MALI_UNIFORM_BUFFER * values, unsigned indent)
3408 fprintf(fp, "%*sEntries: %u\n", indent, "", values->entries);
3409 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
3472 MALI_VIEWPORT_print(FILE *fp, const struct MALI_VIEWPORT * values, unsigned indent)
3474 fprintf(fp, "%*sMinimum X: %f\n", indent, "", values->minimum_x);
3475 fprintf(fp, "%*sMinimum Y: %f\n", indent, "", values->minimum_y);
3476 fprintf(fp, "%*sMaximum X: %f\n", indent, "", values->maximum_x);
3477 fprintf(fp, "%*sMaximum Y: %f\n", indent, "", values->maximum_y);
3478 fprintf(fp, "%*sMinimum Z: %f\n", indent, "", values->minimum_z);
3479 fprintf(fp, "%*sMaximum Z: %f\n", indent, "", values->maximum_z);
3480 fprintf(fp, "%*sScissor Minimum X: %u\n", indent, "", values->scissor_minimum_x);
3481 fprintf(fp, "%*sScissor Minimum Y: %u\n", indent, "", values->scissor_minimum_y);
3482 fprintf(fp, "%*sScissor Maximum X: %u\n", indent, "", values->scissor_maximum_x);
3483 fprintf(fp, "%*sScissor Maximum Y: %u\n", indent, "", values->scissor_maximum_y);
3539 MALI_LOCAL_STORAGE_print(FILE *fp, const struct MALI_LOCAL_STORAGE * values, unsigned indent)
3541 fprintf(fp, "%*sTLS Size: %u\n", indent, "", values->tls_size);
3542 fprintf(fp, "%*sTLS Initial Stack Pointer Offset: %u\n", indent, "", values->tls_initial_stack_pointer_offset);
3543 fprintf(fp, "%*sWLS Instances: %u\n", indent, "", values->wls_instances);
3544 fprintf(fp, "%*sWLS Size Base: %u\n", indent, "", values->wls_size_base);
3545 fprintf(fp, "%*sWLS Size Scale: %u\n", indent, "", values->wls_size_scale);
3546 fprintf(fp, "%*sTLS Base Pointer: 0x%" PRIx64 "\n", indent, "", values->tls_base_pointer);
3547 fprintf(fp, "%*sWLS Base Pointer: 0x%" PRIx64 "\n", indent, "", values->wls_base_pointer);
3810 MALI_RT_BUFFER_print(FILE *fp, const struct MALI_RT_BUFFER * values, unsigned indent)
3812 fprintf(fp, "%*sBase: 0x%" PRIx64 "\n", indent, "", values->base);
3813 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
3814 fprintf(fp, "%*sSurface Stride: %u\n", indent, "", values->surface_stride);
4027 MALI_FRAMEBUFFER_PARAMETERS_print(FILE *fp, const struct MALI_FRAMEBUFFER_PARAMETERS * values, unsigned indent)
4029 fprintf(fp, "%*sPre Frame 0: %s\n", indent, "", mali_pre_post_frame_shader_mode_as_str(values->pre_frame_0));
4030 fprintf(fp, "%*sPre Frame 1: %s\n", indent, "", mali_pre_post_frame_shader_mode_as_str(values->pre_frame_1));
4031 fprintf(fp, "%*sPost Frame: %s\n", indent, "", mali_pre_post_frame_shader_mode_as_str(values->post_frame));
4032 fprintf(fp, "%*sSample Locations: 0x%" PRIx64 "\n", indent, "", values->sample_locations);
4033 fprintf(fp, "%*sFrame Shader DCDs: 0x%" PRIx64 "\n", indent, "", values->frame_shader_dcds);
4034 fprintf(fp, "%*sWidth: %u\n", indent, "", values->width);
4035 fprintf(fp, "%*sHeight: %u\n", indent, "", values->height);
4036 fprintf(fp, "%*sBound Min X: %u\n", indent, "", values->bound_min_x);
4037 fprintf(fp, "%*sBound Min Y: %u\n", indent, "", values->bound_min_y);
4038 fprintf(fp, "%*sBound Max X: %u\n", indent, "", values->bound_max_x);
4039 fprintf(fp, "%*sBound Max Y: %u\n", indent, "", values->bound_max_y);
4040 fprintf(fp, "%*sSample Count: %u\n", indent, "", values->sample_count);
4041 fprintf(fp, "%*sSample Pattern: %s\n", indent, "", mali_sample_pattern_as_str(values->sample_pattern));
4042 fprintf(fp, "%*sTie-Break Rule: %s\n", indent, "", mali_tie_break_rule_as_str(values->tie_break_rule));
4043 fprintf(fp, "%*sEffective Tile Size: %u\n", indent, "", values->effective_tile_size);
4044 fprintf(fp, "%*sX Downsampling Scale: %u\n", indent, "", values->x_downsampling_scale);
4045 fprintf(fp, "%*sY Downsampling Scale: %u\n", indent, "", values->y_downsampling_scale);
4046 fprintf(fp, "%*sRender Target Count: %u\n", indent, "", values->render_target_count);
4047 fprintf(fp, "%*sColor Buffer Allocation: %u\n", indent, "", values->color_buffer_allocation);
4048 fprintf(fp, "%*sS Clear: %u\n", indent, "", values->s_clear);
4049 fprintf(fp, "%*sS Write Enable: %s\n", indent, "", values->s_write_enable ? "true" : "false");
4050 fprintf(fp, "%*sS Preload Enable: %s\n", indent, "", values->s_preload_enable ? "true" : "false");
4051 fprintf(fp, "%*sS Unload Enable: %s\n", indent, "", values->s_unload_enable ? "true" : "false");
4052 fprintf(fp, "%*sZ Internal Format: %s\n", indent, "", mali_z_internal_format_as_str(values->z_internal_format));
4053 fprintf(fp, "%*sZ Write Enable: %s\n", indent, "", values->z_write_enable ? "true" : "false");
4054 fprintf(fp, "%*sZ Preload Enable: %s\n", indent, "", values->z_preload_enable ? "true" : "false");
4055 fprintf(fp, "%*sZ Unload Enable: %s\n", indent, "", values->z_unload_enable ? "true" : "false");
4056 fprintf(fp, "%*sHas ZS CRC Extension: %s\n", indent, "", values->has_zs_crc_extension ? "true" : "false");
4057 fprintf(fp, "%*sCRC Read Enable: %s\n", indent, "", values->crc_read_enable ? "true" : "false");
4058 fprintf(fp, "%*sCRC Write Enable: %s\n", indent, "", values->crc_write_enable ? "true" : "false");
4059 fprintf(fp, "%*sZ Clear: %f\n", indent, "", values->z_clear);
4060 fprintf(fp, "%*sTiler: 0x%" PRIx64 "\n", indent, "", values->tiler);
4158 MALI_ZS_CRC_EXTENSION_print(FILE *fp, const struct MALI_ZS_CRC_EXTENSION * values, unsigned indent)
4160 fprintf(fp, "%*sCRC Base: 0x%" PRIx64 "\n", indent, "", values->crc_base);
4161 fprintf(fp, "%*sCRC Row Stride: %u\n", indent, "", values->crc_row_stride);
4162 fprintf(fp, "%*sZS Write Format: %s\n", indent, "", mali_zs_format_as_str(values->zs_write_format));
4163 fprintf(fp, "%*sZS Block Format: %s\n", indent, "", mali_block_format_as_str(values->zs_block_format));
4164 fprintf(fp, "%*sZS MSAA: %s\n", indent, "", mali_msaa_as_str(values->zs_msaa));
4165 fprintf(fp, "%*sZS Big Endian: %s\n", indent, "", values->zs_big_endian ? "true" : "false");
4166 fprintf(fp, "%*sZS Clean Pixel Write Enable: %s\n", indent, "", values->zs_clean_pixel_write_enable ? "true" : "false");
4167 fprintf(fp, "%*sS Write Format: %s\n", indent, "", mali_s_format_as_str(values->s_write_format));
4168 fprintf(fp, "%*sS Block Format: %s\n", indent, "", mali_block_format_as_str(values->s_block_format));
4169 fprintf(fp, "%*sS MSAA: %s\n", indent, "", mali_msaa_as_str(values->s_msaa));
4170 fprintf(fp, "%*sZS Writeback Base: 0x%" PRIx64 "\n", indent, "", values->zs_writeback_base);
4171 fprintf(fp, "%*sZS Writeback Row Stride: %u\n", indent, "", values->zs_writeback_row_stride);
4172 fprintf(fp, "%*sZS Writeback Surface Stride: %u\n", indent, "", values->zs_writeback_surface_stride);
4173 fprintf(fp, "%*sS Writeback Base: 0x%" PRIx64 "\n", indent, "", values->s_writeback_base);
4174 fprintf(fp, "%*sS Writeback Row Stride: %u\n", indent, "", values->s_writeback_row_stride);
4175 fprintf(fp, "%*sS Writeback Surface Stride: %u\n", indent, "", values->s_writeback_surface_stride);
4176 fprintf(fp, "%*sZS AFBC Header: 0x%" PRIx64 "\n", indent, "", values->zs_afbc_header);
4177 fprintf(fp, "%*sZS AFBC Row Stride: %u\n", indent, "", values->zs_afbc_row_stride);
4178 fprintf(fp, "%*sZS AFBC Body: 0x%" PRIx64 "\n", indent, "", values->zs_afbc_body);
4319 MALI_RENDER_TARGET_YUV_OVERLAY_print(FILE *fp, const struct MALI_RENDER_TARGET_YUV_OVERLAY * values, unsigned indent)
4321 fprintf(fp, "%*sSwizzle: %s\n", indent, "", mali_yuv_swizzle_as_str(values->swizzle));
4322 fprintf(fp, "%*sFull Range: %s\n", indent, "", values->full_range ? "true" : "false");
4323 fprintf(fp, "%*sConversion Mode: %s\n", indent, "", mali_yuv_conversion_mode_as_str(values->conversion_mode));
4324 fprintf(fp, "%*sCr Siting: %s\n", indent, "", mali_yuv_cr_siting_as_str(values->cr_siting));
4325 fprintf(fp, "%*sUnsigned Cr Range: %s\n", indent, "", values->unsigned_cr_range ? "true" : "false");
4326 fprintf(fp, "%*sPlane 0 Base: 0x%" PRIx64 "\n", indent, "", values->plane_0_base);
4327 fprintf(fp, "%*sPlane 1 Base: 0x%" PRIx64 "\n", indent, "", values->plane_1_base);
4328 fprintf(fp, "%*sPlane 2 Base: 0x%" PRIx64 "\n", indent, "", values->plane_2_base);
4329 fprintf(fp, "%*sPlane 0 Stride: %u\n", indent, "", values->plane_0_stride);
4330 fprintf(fp, "%*sPlane 1 2 Stride: %u\n", indent, "", values->plane_1_2_stride);
4404 MALI_RENDER_TARGET_AFBC_OVERLAY_print(FILE *fp, const struct MALI_RENDER_TARGET_AFBC_OVERLAY * values, unsigned indent)
4406 fprintf(fp, "%*sHeader: 0x%" PRIx64 "\n", indent, "", values->header);
4407 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
4408 fprintf(fp, "%*sChunk Size: %u\n", indent, "", values->chunk_size);
4409 fprintf(fp, "%*sAFBC Split Block Enable: %s\n", indent, "", values->afbc_split_block_enable ? "true" : "false");
4410 fprintf(fp, "%*sAFBC Wide Block Enable: %s\n", indent, "", values->afbc_wide_block_enable ? "true" : "false");
4411 fprintf(fp, "%*sReverse Issue Order: %s\n", indent, "", values->reverse_issue_order ? "true" : "false");
4412 fprintf(fp, "%*sYUV Transform Enable: %s\n", indent, "", values->yuv_transform_enable ? "true" : "false");
4413 fprintf(fp, "%*sBody: 0x%" PRIx64 "\n", indent, "", values->body);
4414 fprintf(fp, "%*sBody Size: %u\n", indent, "", values->body_size);
4451 MALI_RT_CLEAR_print(FILE *fp, const struct MALI_RT_CLEAR * values, unsigned indent)
4453 fprintf(fp, "%*sColor 0: %u\n", indent, "", values->color_0);
4454 fprintf(fp, "%*sColor 1: %u\n", indent, "", values->color_1);
4455 fprintf(fp, "%*sColor 2: %u\n", indent, "", values->color_2);
4456 fprintf(fp, "%*sColor 3: %u\n", indent, "", values->color_3);
4592 MALI_RENDER_TARGET_print(FILE *fp, const struct MALI_RENDER_TARGET * values, unsigned indent)
4594 fprintf(fp, "%*sYUV:\n", indent, "");
4595 MALI_RENDER_TARGET_YUV_OVERLAY_print(fp, &values->yuv, indent + 2);
4596 fprintf(fp, "%*sAFBC:\n", indent, "");
4597 MALI_RENDER_TARGET_AFBC_OVERLAY_print(fp, &values->afbc, indent + 2);
4598 fprintf(fp, "%*sInternal Buffer Offset: %u\n", indent, "", values->internal_buffer_offset);
4599 fprintf(fp, "%*sYUV Enable: %s\n", indent, "", values->yuv_enable ? "true" : "false");
4600 fprintf(fp, "%*sDithered Clear: %s\n", indent, "", values->dithered_clear ? "true" : "false");
4601 fprintf(fp, "%*sInternal Format: %s\n", indent, "", mali_color_buffer_internal_format_as_str(values->internal_format));
4602 fprintf(fp, "%*sWrite Enable: %s\n", indent, "", values->write_enable ? "true" : "false");
4603 fprintf(fp, "%*sWriteback Format: %s\n", indent, "", mali_color_format_as_str(values->writeback_format));
4604 fprintf(fp, "%*sWriteback Endianness: %s\n", indent, "", mali_rt_endianness_as_str(values->writeback_endianness));
4605 fprintf(fp, "%*sWriteback Block Format: %s\n", indent, "", mali_block_format_as_str(values->writeback_block_format));
4606 fprintf(fp, "%*sWriteback MSAA: %s\n", indent, "", mali_msaa_as_str(values->writeback_msaa));
4607 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
4608 fprintf(fp, "%*sDithering Enable: %s\n", indent, "", values->dithering_enable ? "true" : "false");
4609 fprintf(fp, "%*sSwizzle: %u\n", indent, "", values->swizzle);
4610 fprintf(fp, "%*sClean Pixel Write Enable: %s\n", indent, "", values->clean_pixel_write_enable ? "true" : "false");
4611 fprintf(fp, "%*sRGB:\n", indent, "");
4612 MALI_RT_BUFFER_print(fp, &values->rgb, indent + 2);
4613 fprintf(fp, "%*sClear:\n", indent, "");
4614 MALI_RT_CLEAR_print(fp, &values->clear, indent + 2);
4658 MALI_TILER_HEAP_print(FILE *fp, const struct MALI_TILER_HEAP * values, unsigned indent)
4660 fprintf(fp, "%*sSize: %u\n", indent, "", values->size);
4661 fprintf(fp, "%*sBase: 0x%" PRIx64 "\n", indent, "", values->base);
4662 fprintf(fp, "%*sBottom: 0x%" PRIx64 "\n", indent, "", values->bottom);
4663 fprintf(fp, "%*sTop: 0x%" PRIx64 "\n", indent, "", values->top);
4720 MALI_TILER_WEIGHTS_print(FILE *fp, const struct MALI_TILER_WEIGHTS * values, unsigned indent)
4722 fprintf(fp, "%*sWeight0: %u\n", indent, "", values->weight0);
4723 fprintf(fp, "%*sWeight1: %u\n", indent, "", values->weight1);
4724 fprintf(fp, "%*sWeight2: %u\n", indent, "", values->weight2);
4725 fprintf(fp, "%*sWeight3: %u\n", indent, "", values->weight3);
4726 fprintf(fp, "%*sWeight4: %u\n", indent, "", values->weight4);
4727 fprintf(fp, "%*sWeight5: %u\n", indent, "", values->weight5);
4728 fprintf(fp, "%*sWeight6: %u\n", indent, "", values->weight6);
4729 fprintf(fp, "%*sWeight7: %u\n", indent, "", values->weight7);
4802 MALI_TILER_STATE_print(FILE *fp, const struct MALI_TILER_STATE * values, unsigned indent)
4804 fprintf(fp, "%*sWord0: %u\n", indent, "", values->word0);
4805 fprintf(fp, "%*sWord1: %u\n", indent, "", values->word1);
4806 fprintf(fp, "%*sWord2: %u\n", indent, "", values->word2);
4807 fprintf(fp, "%*sWord3: %u\n", indent, "", values->word3);
4808 fprintf(fp, "%*sWord4: %u\n", indent, "", values->word4);
4809 fprintf(fp, "%*sWord5: %u\n", indent, "", values->word5);
4810 fprintf(fp, "%*sWord6: %u\n", indent, "", values->word6);
4811 fprintf(fp, "%*sWord7: %u\n", indent, "", values->word7);
4812 fprintf(fp, "%*sWord8: %u\n", indent, "", values->word8);
4813 fprintf(fp, "%*sWord9: %u\n", indent, "", values->word9);
4814 fprintf(fp, "%*sWord10: %u\n", indent, "", values->word10);
4815 fprintf(fp, "%*sWord11: %u\n", indent, "", values->word11);
4816 fprintf(fp, "%*sWord12: %u\n", indent, "", values->word12);
4817 fprintf(fp, "%*sWord13: %u\n", indent, "", values->word13);
4818 fprintf(fp, "%*sWord14: %u\n", indent, "", values->word14);
4819 fprintf(fp, "%*sWord15: %u\n", indent, "", values->word15);
4966 MALI_TILER_CONTEXT_print(FILE *fp, const struct MALI_TILER_CONTEXT * values, unsigned indent)
4968 fprintf(fp, "%*sPolygon List: 0x%" PRIx64 "\n", indent, "", values->polygon_list);
4969 fprintf(fp, "%*sHierarchy Mask: %u\n", indent, "", values->hierarchy_mask);
4970 fprintf(fp, "%*sSample Pattern: %s\n", indent, "", mali_sample_pattern_as_str(values->sample_pattern));
4971 fprintf(fp, "%*sUpdate Cost Table: %s\n", indent, "", values->update_cost_table ? "true" : "false");
4972 fprintf(fp, "%*sFB Width: %u\n", indent, "", values->fb_width);
4973 fprintf(fp, "%*sFB Height: %u\n", indent, "", values->fb_height);
4974 fprintf(fp, "%*sHeap: 0x%" PRIx64 "\n", indent, "", values->heap);
4975 fprintf(fp, "%*sWeights:\n", indent, "");
4976 MALI_TILER_WEIGHTS_print(fp, &values->weights, indent + 2);
4977 fprintf(fp, "%*sState:\n", indent, "");
4978 MALI_TILER_STATE_print(fp, &values->state, indent + 2);
5036 MALI_FRAMEBUFFER_PADDING_print(FILE *fp, const struct MALI_FRAMEBUFFER_PADDING * values, unsigned indent)
5130 MALI_JOB_HEADER_print(FILE *fp, const struct MALI_JOB_HEADER * values, unsigned indent)
5132 fprintf(fp, "%*sException Status: %u\n", indent, "", values->exception_status);
5133 fprintf(fp, "%*sFirst Incomplete Task: %u\n", indent, "", values->first_incomplete_task);
5134 fprintf(fp, "%*sFault Pointer: 0x%" PRIx64 "\n", indent, "", values->fault_pointer);
5135 fprintf(fp, "%*sIs 64b: %s\n", indent, "", values->is_64b ? "true" : "false");
5136 fprintf(fp, "%*sType: %s\n", indent, "", mali_job_type_as_str(values->type));
5137 fprintf(fp, "%*sBarrier: %s\n", indent, "", values->barrier ? "true" : "false");
5138 fprintf(fp, "%*sInvalidate Cache: %s\n", indent, "", values->invalidate_cache ? "true" : "false");
5139 fprintf(fp, "%*sSuppress Prefetch: %s\n", indent, "", values->suppress_prefetch ? "true" : "false");
5140 fprintf(fp, "%*sEnable Texture Mapper: %s\n", indent, "", values->enable_texture_mapper ? "true" : "false");
5141 fprintf(fp, "%*sRelax Dependency 1: %s\n", indent, "", values->relax_dependency_1 ? "true" : "false");
5142 fprintf(fp, "%*sRelax Dependency 2: %s\n", indent, "", values->relax_dependency_2 ? "true" : "false");
5143 fprintf(fp, "%*sIndex: %u\n", indent, "", values->index);
5144 fprintf(fp, "%*sDependency 1: %u\n", indent, "", values->dependency_1);
5145 fprintf(fp, "%*sDependency 2: %u\n", indent, "", values->dependency_2);
5146 fprintf(fp, "%*sNext: 0x%" PRIx64 "\n", indent, "", values->next);
5202 MALI_FRAGMENT_JOB_PAYLOAD_print(FILE *fp, const struct MALI_FRAGMENT_JOB_PAYLOAD * values, unsigned indent)
5204 fprintf(fp, "%*sBound Min X: %u\n", indent, "", values->bound_min_x);
5205 fprintf(fp, "%*sBound Min Y: %u\n", indent, "", values->bound_min_y);
5206 fprintf(fp, "%*sBound Max X: %u\n", indent, "", values->bound_max_x);
5207 fprintf(fp, "%*sBound Max Y: %u\n", indent, "", values->bound_max_y);
5208 fprintf(fp, "%*sHas Tile Enable Map: %s\n", indent, "", values->has_tile_enable_map ? "true" : "false");
5209 fprintf(fp, "%*sFramebuffer: 0x%" PRIx64 "\n", indent, "", values->framebuffer);
5210 fprintf(fp, "%*sTile Enable Map: 0x%" PRIx64 "\n", indent, "", values->tile_enable_map);
5211 fprintf(fp, "%*sTile Enable Map Row Stride: %u\n", indent, "", values->tile_enable_map_row_stride);
5293 MALI_WRITE_VALUE_JOB_PAYLOAD_print(FILE *fp, const struct MALI_WRITE_VALUE_JOB_PAYLOAD * values, unsigned indent)
5295 fprintf(fp, "%*sAddress: 0x%" PRIx64 "\n", indent, "", values->address);
5296 fprintf(fp, "%*sType: %s\n", indent, "", mali_write_value_type_as_str(values->type));
5297 fprintf(fp, "%*sImmediate Value: 0x%" PRIx64 "\n", indent, "", values->immediate_value);
5351 MALI_CACHE_FLUSH_JOB_PAYLOAD_print(FILE *fp, const struct MALI_CACHE_FLUSH_JOB_PAYLOAD * values, unsigned indent)
5353 fprintf(fp, "%*sClean Shader Core LS: %s\n", indent, "", values->clean_shader_core_ls ? "true" : "false");
5354 fprintf(fp, "%*sInvalidate Shader Core LS: %s\n", indent, "", values->invalidate_shader_core_ls ? "true" : "false");
5355 fprintf(fp, "%*sInvalidate Shader Core Other: %s\n", indent, "", values->invalidate_shader_core_other ? "true" : "false");
5356 fprintf(fp, "%*sJob Manager Clean: %s\n", indent, "", values->job_manager_clean ? "true" : "false");
5357 fprintf(fp, "%*sJob Manager Invalidate: %s\n", indent, "", values->job_manager_invalidate ? "true" : "false");
5358 fprintf(fp, "%*sTiler Clean: %s\n", indent, "", values->tiler_clean ? "true" : "false");
5359 fprintf(fp, "%*sTiler Invalidate: %s\n", indent, "", values->tiler_invalidate ? "true" : "false");
5360 fprintf(fp, "%*sL2 Clean: %s\n", indent, "", values->l2_clean ? "true" : "false");
5361 fprintf(fp, "%*sL2 Invalidate: %s\n", indent, "", values->l2_invalidate ? "true" : "false");
5438 MALI_COMPUTE_JOB_PARAMETERS_print(FILE *fp, const struct MALI_COMPUTE_JOB_PARAMETERS * values, unsigned indent)
5440 fprintf(fp, "%*sJob Task Split: %u\n", indent, "", values->job_task_split);
5503 MALI_PRIMITIVE_SIZE_print(FILE *fp, const struct MALI_PRIMITIVE_SIZE * values, unsigned indent)
5505 fprintf(fp, "%*sConstant: %f\n", indent, "", values->constant);
5506 fprintf(fp, "%*sSize Array: 0x%" PRIx64 "\n", indent, "", values->size_array);
5535 MALI_TILER_POINTER_print(FILE *fp, const struct MALI_TILER_POINTER * values, unsigned indent)
5537 fprintf(fp, "%*sAddress: 0x%" PRIx64 "\n", indent, "", values->address);
5587 MALI_TILER_JOB_PADDING_print(FILE *fp, const struct MALI_TILER_JOB_PADDING * values, unsigned indent)