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, "", \
1034 MALI_ATTRIBUTE_print(FILE *fp, const struct MALI_ATTRIBUTE * values, unsigned indent)
1036 fprintf(fp, "%*sBuffer index: %u\n", indent, "", values->buffer_index);
1037 fprintf(fp, "%*sOffset enable: %s\n", indent, "", values->offset_enable ? "true" : "false");
1039 fprintf(fp, "%*sOffset: %d\n", indent, "", values->offset);
1081 MALI_ATTRIBUTE_VERTEX_ID_print(FILE *fp, const struct MALI_ATTRIBUTE_VERTEX_ID * values, unsigned indent)
1083 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_special_as_str(values->type));
1084 fprintf(fp, "%*sDivisor R: %u\n", indent, "", values->divisor_r);
1085 fprintf(fp, "%*sDivisor P: %u\n", indent, "", values->divisor_p);
1086 fprintf(fp, "%*sOffset: %d\n", indent, "", values->offset);
1129 MALI_ATTRIBUTE_INSTANCE_ID_print(FILE *fp, const struct MALI_ATTRIBUTE_INSTANCE_ID * values, unsigned indent)
1131 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_special_as_str(values->type));
1132 fprintf(fp, "%*sDivisor R: %u\n", indent, "", values->divisor_r);
1133 fprintf(fp, "%*sDivisor E: %u\n", indent, "", values->divisor_e);
1134 fprintf(fp, "%*sDivisor P: %u\n", indent, "", values->divisor_p);
1135 fprintf(fp, "%*sOffset: %d\n", indent, "", values->offset);
1191 MALI_ATTRIBUTE_BUFFER_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER * values, unsigned indent)
1193 fprintf(fp, "%*sSpecial: %s\n", indent, "", mali_attribute_special_as_str(values->special));
1194 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1195 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
1196 fprintf(fp, "%*sStride: %u\n", indent, "", values->stride);
1197 fprintf(fp, "%*sSize: %u\n", indent, "", values->size);
1198 fprintf(fp, "%*sDivisor: %u\n", indent, "", values->divisor);
1199 fprintf(fp, "%*sDivisor R: %u\n", indent, "", values->divisor_r);
1200 fprintf(fp, "%*sDivisor P: %u\n", indent, "", values->divisor_p);
1201 fprintf(fp, "%*sDivisor E: %u\n", indent, "", values->divisor_e);
1238 MALI_ATTRIBUTE_BUFFER_CONTINUATION_NPOT_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER_CONTINUATION_NPOT * values, unsigned indent)
1240 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1241 fprintf(fp, "%*sDivisor Numerator: %u\n", indent, "", values->divisor_numerator);
1242 fprintf(fp, "%*sDivisor: %u\n", indent, "", values->divisor);
1289 MALI_ATTRIBUTE_BUFFER_CONTINUATION_3D_print(FILE *fp, const struct MALI_ATTRIBUTE_BUFFER_CONTINUATION_3D * values, unsigned indent)
1291 fprintf(fp, "%*sType: %s\n", indent, "", mali_attribute_type_as_str(values->type));
1292 fprintf(fp, "%*sS dimension: %u\n", indent, "", values->s_dimension);
1293 fprintf(fp, "%*sT dimension: %u\n", indent, "", values->t_dimension);
1294 fprintf(fp, "%*sR dimension: %u\n", indent, "", values->r_dimension);
1295 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
1296 fprintf(fp, "%*sSlice Stride: %u\n", indent, "", values->slice_stride);
1373 MALI_BLEND_FUNCTION_print(FILE *fp, const struct MALI_BLEND_FUNCTION * values, unsigned indent)
1375 fprintf(fp, "%*sA: %s\n", indent, "", mali_blend_operand_a_as_str(values->a));
1376 fprintf(fp, "%*sNegate A: %s\n", indent, "", values->negate_a ? "true" : "false");
1377 fprintf(fp, "%*sB: %s\n", indent, "", mali_blend_operand_b_as_str(values->b));
1378 fprintf(fp, "%*sNegate B: %s\n", indent, "", values->negate_b ? "true" : "false");
1379 fprintf(fp, "%*sC: %s\n", indent, "", mali_blend_operand_c_as_str(values->c));
1380 fprintf(fp, "%*sInvert C: %s\n", indent, "", values->invert_c ? "true" : "false");
1436 MALI_BLEND_EQUATION_print(FILE *fp, const struct MALI_BLEND_EQUATION * values, unsigned indent)
1438 fprintf(fp, "%*sRGB:\n", indent, "");
1439 MALI_BLEND_FUNCTION_print(fp, &values->rgb, indent + 2);
1440 fprintf(fp, "%*sAlpha:\n", indent, "");
1441 MALI_BLEND_FUNCTION_print(fp, &values->alpha, indent + 2);
1442 fprintf(fp, "%*sColor Mask: %u\n", indent, "", values->color_mask);
1532 MALI_BLEND_print(FILE *fp, const struct MALI_BLEND * values, unsigned indent)
1534 fprintf(fp, "%*sLoad Destination: %s\n", indent, "", values->load_destination ? "true" : "false");
1535 fprintf(fp, "%*sBlend Shader: %s\n", indent, "", values->blend_shader ? "true" : "false");
1536 fprintf(fp, "%*sBlend Shader Contains Discard: %s\n", indent, "", values->blend_shader_contains_discard ? "true" : "false");
1537 fprintf(fp, "%*sAlpha To One: %s\n", indent, "", values->alpha_to_one ? "true" : "false");
1538 fprintf(fp, "%*sEnable: %s\n", indent, "", values->enable ? "true" : "false");
1539 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
1540 fprintf(fp, "%*sRound to FB precision: %s\n", indent, "", values->round_to_fb_precision ? "true" : "false");
1541 fprintf(fp, "%*sShader PC: 0x%" PRIx64 "\n", indent, "", values->shader_pc);
1542 fprintf(fp, "%*sEquation:\n", indent, "");
1543 MALI_BLEND_EQUATION_print(fp, &values->equation, indent + 2);
1544 fprintf(fp, "%*sConstant: %f\n", indent, "", values->constant);
1591 MALI_INVOCATION_print(FILE *fp, const struct MALI_INVOCATION * values, unsigned indent)
1593 fprintf(fp, "%*sInvocations: %u\n", indent, "", values->invocations);
1594 fprintf(fp, "%*sSize Y shift: %u\n", indent, "", values->size_y_shift);
1595 fprintf(fp, "%*sSize Z shift: %u\n", indent, "", values->size_z_shift);
1596 fprintf(fp, "%*sWorkgroups X shift: %u\n", indent, "", values->workgroups_x_shift);
1597 fprintf(fp, "%*sWorkgroups Y shift: %u\n", indent, "", values->workgroups_y_shift);
1598 fprintf(fp, "%*sWorkgroups Z shift: %u\n", indent, "", values->workgroups_z_shift);
1599 fprintf(fp, "%*sThread group split: %u\n", indent, "", values->thread_group_split);
1706 MALI_PRIMITIVE_print(FILE *fp, const struct MALI_PRIMITIVE * values, unsigned indent)
1708 fprintf(fp, "%*sDraw mode: %s\n", indent, "", mali_draw_mode_as_str(values->draw_mode));
1709 fprintf(fp, "%*sIndex type: %s\n", indent, "", mali_index_type_as_str(values->index_type));
1710 fprintf(fp, "%*sPoint size array format: %s\n", indent, "", mali_point_size_array_format_as_str(values->point_size_array_format));
1711 fprintf(fp, "%*sPrimitive Index Enable: %s\n", indent, "", values->primitive_index_enable ? "true" : "false");
1712 fprintf(fp, "%*sPrimitive Index Writeback: %s\n", indent, "", values->primitive_index_writeback ? "true" : "false");
1713 fprintf(fp, "%*sFirst provoking vertex: %s\n", indent, "", values->first_provoking_vertex ? "true" : "false");
1714 fprintf(fp, "%*sLow Depth Cull: %s\n", indent, "", values->low_depth_cull ? "true" : "false");
1715 fprintf(fp, "%*sHigh Depth Cull: %s\n", indent, "", values->high_depth_cull ? "true" : "false");
1716 fprintf(fp, "%*sPrimitive restart: %s\n", indent, "", mali_primitive_restart_as_str(values->primitive_restart));
1717 fprintf(fp, "%*sJob Task Split: %u\n", indent, "", values->job_task_split);
1718 fprintf(fp, "%*sBase vertex offset: %u\n", indent, "", values->base_vertex_offset);
1719 fprintf(fp, "%*sPrimitive Restart Index: %u\n", indent, "", values->primitive_restart_index);
1720 fprintf(fp, "%*sIndex count: %u\n", indent, "", values->index_count);
1721 fprintf(fp, "%*sIndices: 0x%" PRIx64 "\n", indent, "", values->indices);
1851 MALI_DRAW_print(FILE *fp, const struct MALI_DRAW * values, unsigned indent)
1853 fprintf(fp, "%*sFour Components Per Vertex: %s\n", indent, "", values->four_components_per_vertex ? "true" : "false");
1854 fprintf(fp, "%*sDraw Descriptor Is 64b: %s\n", indent, "", values->draw_descriptor_is_64b ? "true" : "false");
1855 fprintf(fp, "%*sTexture Descriptor Is 64b: %s\n", indent, "", values->texture_descriptor_is_64b ? "true" : "false");
1856 fprintf(fp, "%*sOcclusion query: %s\n", indent, "", mali_occlusion_mode_as_str(values->occlusion_query));
1857 fprintf(fp, "%*sFront face CCW: %s\n", indent, "", values->front_face_ccw ? "true" : "false");
1858 fprintf(fp, "%*sCull front face: %s\n", indent, "", values->cull_front_face ? "true" : "false");
1859 fprintf(fp, "%*sCull back face: %s\n", indent, "", values->cull_back_face ? "true" : "false");
1860 fprintf(fp, "%*sFlat Shading Vertex: %u\n", indent, "", values->flat_shading_vertex);
1861 fprintf(fp, "%*sPrimitive Barrier: %s\n", indent, "", values->primitive_barrier ? "true" : "false");
1862 fprintf(fp, "%*sClean Fragment Write: %s\n", indent, "", values->clean_fragment_write ? "true" : "false");
1863 fprintf(fp, "%*sInstance Size: %u\n", indent, "", values->instance_size);
1864 fprintf(fp, "%*sInstance Primitive Size: %u\n", indent, "", values->instance_primitive_size);
1865 fprintf(fp, "%*sOffset start: %u\n", indent, "", values->offset_start);
1866 fprintf(fp, "%*sPrimitive Index Base: %u\n", indent, "", values->primitive_index_base);
1867 fprintf(fp, "%*sPosition: 0x%" PRIx64 "\n", indent, "", values->position);
1868 fprintf(fp, "%*sUniform buffers: 0x%" PRIx64 "\n", indent, "", values->uniform_buffers);
1869 fprintf(fp, "%*sTextures: 0x%" PRIx64 "\n", indent, "", values->textures);
1870 fprintf(fp, "%*sSamplers: 0x%" PRIx64 "\n", indent, "", values->samplers);
1871 fprintf(fp, "%*sPush uniforms: 0x%" PRIx64 "\n", indent, "", values->push_uniforms);
1872 fprintf(fp, "%*sState: 0x%" PRIx64 "\n", indent, "", values->state);
1873 fprintf(fp, "%*sAttribute buffers: 0x%" PRIx64 "\n", indent, "", values->attribute_buffers);
1874 fprintf(fp, "%*sAttributes: 0x%" PRIx64 "\n", indent, "", values->attributes);
1875 fprintf(fp, "%*sVarying buffers: 0x%" PRIx64 "\n", indent, "", values->varying_buffers);
1876 fprintf(fp, "%*sVaryings: 0x%" PRIx64 "\n", indent, "", values->varyings);
1877 fprintf(fp, "%*sViewport: 0x%" PRIx64 "\n", indent, "", values->viewport);
1878 fprintf(fp, "%*sOcclusion: 0x%" PRIx64 "\n", indent, "", values->occlusion);
1879 fprintf(fp, "%*sThread Storage: 0x%" PRIx64 "\n", indent, "", values->thread_storage);
1880 fprintf(fp, "%*sFBD: 0x%" PRIx64 "\n", indent, "", values->fbd);
1910 MALI_SURFACE_print(FILE *fp, const struct MALI_SURFACE * values, unsigned indent)
1912 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
1948 MALI_SURFACE_WITH_STRIDE_print(FILE *fp, const struct MALI_SURFACE_WITH_STRIDE * values, unsigned indent)
1950 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
1951 fprintf(fp, "%*sRow stride: %d\n", indent, "", values->row_stride);
1952 fprintf(fp, "%*sSurface stride: %d\n", indent, "", values->surface_stride);
2048 MALI_SAMPLER_print(FILE *fp, const struct MALI_SAMPLER * values, unsigned indent)
2050 fprintf(fp, "%*sMagnify Nearest: %s\n", indent, "", values->magnify_nearest ? "true" : "false");
2051 fprintf(fp, "%*sMinify Nearest: %s\n", indent, "", values->minify_nearest ? "true" : "false");
2052 fprintf(fp, "%*sMipmap Mode: %s\n", indent, "", mali_mipmap_mode_as_str(values->mipmap_mode));
2053 fprintf(fp, "%*sNormalized Coordinates: %s\n", indent, "", values->normalized_coordinates ? "true" : "false");
2054 fprintf(fp, "%*sIsotropic LOD: %s\n", indent, "", values->isotropic_lod ? "true" : "false");
2055 fprintf(fp, "%*sLOD Bias: %d\n", indent, "", values->lod_bias);
2056 fprintf(fp, "%*sMinimum LOD: %u\n", indent, "", values->minimum_lod);
2057 fprintf(fp, "%*sMaximum LOD: %u\n", indent, "", values->maximum_lod);
2058 fprintf(fp, "%*sWrap Mode S: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_s));
2059 fprintf(fp, "%*sWrap Mode T: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_t));
2060 fprintf(fp, "%*sWrap Mode R: %s\n", indent, "", mali_wrap_mode_as_str(values->wrap_mode_r));
2061 fprintf(fp, "%*sCompare Function: %s\n", indent, "", mali_func_as_str(values->compare_function));
2062 fprintf(fp, "%*sSeamless Cube Map: %s\n", indent, "", values->seamless_cube_map ? "true" : "false");
2063 fprintf(fp, "%*sBorder Color R: 0x%X (%f)\n", indent, "", values->border_color_r, uif(values->border_color_r));
2064 fprintf(fp, "%*sBorder Color G: 0x%X (%f)\n", indent, "", values->border_color_g, uif(values->border_color_g));
2065 fprintf(fp, "%*sBorder Color B: 0x%X (%f)\n", indent, "", values->border_color_b, uif(values->border_color_b));
2066 fprintf(fp, "%*sBorder Color A: 0x%X (%f)\n", indent, "", values->border_color_a, uif(values->border_color_a));
2147 MALI_TEXTURE_print(FILE *fp, const struct MALI_TEXTURE * values, unsigned indent)
2149 fprintf(fp, "%*sWidth: %u\n", indent, "", values->width);
2150 fprintf(fp, "%*sHeight: %u\n", indent, "", values->height);
2151 fprintf(fp, "%*sDepth: %u\n", indent, "", values->depth);
2152 fprintf(fp, "%*sSample count: %u\n", indent, "", values->sample_count);
2153 fprintf(fp, "%*sArray size: %u\n", indent, "", values->array_size);
2155 fprintf(fp, "%*sDimension: %s\n", indent, "", mali_texture_dimension_as_str(values->dimension));
2156 fprintf(fp, "%*sTexel ordering: %s\n", indent, "", mali_texture_layout_as_str(values->texel_ordering));
2157 fprintf(fp, "%*sSurface pointer is 64b: %s\n", indent, "", values->surface_pointer_is_64b ? "true" : "false");
2158 fprintf(fp, "%*sManual stride: %s\n", indent, "", values->manual_stride ? "true" : "false");
2159 fprintf(fp, "%*sLevels: %u\n", indent, "", values->levels);
2160 fprintf(fp, "%*sSwizzle: %u\n", indent, "", values->swizzle);
2241 MALI_RENDERER_PROPERTIES_print(FILE *fp, const struct MALI_RENDERER_PROPERTIES * values, unsigned indent)
2243 fprintf(fp, "%*sUniform buffer count: %u\n", indent, "", values->uniform_buffer_count);
2244 fprintf(fp, "%*sDepth source: %s\n", indent, "", mali_depth_source_as_str(values->depth_source));
2245 fprintf(fp, "%*sShader contains barrier: %s\n", indent, "", values->shader_contains_barrier ? "true" : "false");
2246 fprintf(fp, "%*sForce early-z: %s\n", indent, "", values->force_early_z ? "true" : "false");
2247 fprintf(fp, "%*sShader contains discard: %s\n", indent, "", values->shader_contains_discard ? "true" : "false");
2248 fprintf(fp, "%*sShader has side-effects: %s\n", indent, "", values->shader_has_side_effects ? "true" : "false");
2249 fprintf(fp, "%*sShader reads tilebuffer: %s\n", indent, "", values->shader_reads_tilebuffer ? "true" : "false");
2250 fprintf(fp, "%*sForward pixel kill: %s\n", indent, "", values->forward_pixel_kill ? "true" : "false");
2251 fprintf(fp, "%*sWork register count: %u\n", indent, "", values->work_register_count);
2252 fprintf(fp, "%*sUniform count: %u\n", indent, "", values->uniform_count);
2253 fprintf(fp, "%*sStencil from shader: %s\n", indent, "", values->stencil_from_shader ? "true" : "false");
2254 fprintf(fp, "%*sFP mode: %s\n", indent, "", mali_fp_mode_as_str(values->fp_mode));
2295 MALI_SHADER_print(FILE *fp, const struct MALI_SHADER * values, unsigned indent)
2297 fprintf(fp, "%*sShader: 0x%" PRIx64 "\n", indent, "", values->shader);
2298 fprintf(fp, "%*sSampler count: %u\n", indent, "", values->sampler_count);
2299 fprintf(fp, "%*sTexture count: %u\n", indent, "", values->texture_count);
2300 fprintf(fp, "%*sAttribute count: %u\n", indent, "", values->attribute_count);
2301 fprintf(fp, "%*sVarying count: %u\n", indent, "", values->varying_count);
2371 MALI_MULTISAMPLE_MISC_print(FILE *fp, const struct MALI_MULTISAMPLE_MISC * values, unsigned indent)
2373 fprintf(fp, "%*sSample mask: %u\n", indent, "", values->sample_mask);
2374 fprintf(fp, "%*sMultisample enable: %s\n", indent, "", values->multisample_enable ? "true" : "false");
2375 fprintf(fp, "%*sMultisample late coverage: %s\n", indent, "", values->multisample_late_coverage ? "true" : "false");
2376 fprintf(fp, "%*sEvaluate per-sample: %s\n", indent, "", values->evaluate_per_sample ? "true" : "false");
2377 fprintf(fp, "%*sFixed-function depth range fixed: %s\n", indent, "", values->fixed_function_depth_range_fixed ? "true" : "false");
2378 fprintf(fp, "%*sShader depth range fixed: %s\n", indent, "", values->shader_depth_range_fixed ? "true" : "false");
2379 fprintf(fp, "%*sLoad destination: %s\n", indent, "", values->load_destination ? "true" : "false");
2380 fprintf(fp, "%*sBlend shader: %s\n", indent, "", values->blend_shader ? "true" : "false");
2381 fprintf(fp, "%*sBlend shader discard: %s\n", indent, "", values->blend_shader_discard ? "true" : "false");
2382 fprintf(fp, "%*sDepth function: %s\n", indent, "", mali_func_as_str(values->depth_function));
2383 fprintf(fp, "%*sDepth write mask: %s\n", indent, "", values->depth_write_mask ? "true" : "false");
2384 fprintf(fp, "%*sFixed-function near discard: %s\n", indent, "", values->fixed_function_near_discard ? "true" : "false");
2385 fprintf(fp, "%*sFixed-function far discard: %s\n", indent, "", values->fixed_function_far_discard ? "true" : "false");
2386 fprintf(fp, "%*sFragment near discard: %s\n", indent, "", values->fragment_near_discard ? "true" : "false");
2387 fprintf(fp, "%*sFragment far discard: %s\n", indent, "", values->fragment_far_discard ? "true" : "false");
2458 MALI_STENCIL_MASK_MISC_print(FILE *fp, const struct MALI_STENCIL_MASK_MISC * values, unsigned indent)
2460 fprintf(fp, "%*sStencil mask front: %u\n", indent, "", values->stencil_mask_front);
2461 fprintf(fp, "%*sStencil mask back: %u\n", indent, "", values->stencil_mask_back);
2462 fprintf(fp, "%*sStencil enable: %s\n", indent, "", values->stencil_enable ? "true" : "false");
2463 fprintf(fp, "%*sAlpha-to-coverage: %s\n", indent, "", values->alpha_to_coverage ? "true" : "false");
2464 fprintf(fp, "%*sAlpha-to-coverage Invert: %s\n", indent, "", values->alpha_to_coverage_invert ? "true" : "false");
2465 fprintf(fp, "%*sAlpha to one: %s\n", indent, "", values->alpha_to_one ? "true" : "false");
2466 fprintf(fp, "%*sWrite enable: %s\n", indent, "", values->write_enable ? "true" : "false");
2467 fprintf(fp, "%*sAlpha test compare function: %s\n", indent, "", mali_func_as_str(values->alpha_test_compare_function));
2468 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
2469 fprintf(fp, "%*sDither disable: %s\n", indent, "", values->dither_disable ? "true" : "false");
2470 fprintf(fp, "%*sForce seamless cubemaps: %s\n", indent, "", values->force_seamless_cubemaps ? "true" : "false");
2471 fprintf(fp, "%*sDepth Range 1: %s\n", indent, "", values->depth_range_1 ? "true" : "false");
2472 fprintf(fp, "%*sDepth Range 2: %s\n", indent, "", values->depth_range_2 ? "true" : "false");
2473 fprintf(fp, "%*sSingle-sampled lines: %s\n", indent, "", values->single_sampled_lines ? "true" : "false");
2474 fprintf(fp, "%*sPoint snap: %s\n", indent, "", values->point_snap ? "true" : "false");
2518 MALI_STENCIL_print(FILE *fp, const struct MALI_STENCIL * values, unsigned indent)
2520 fprintf(fp, "%*sReference Value: %u\n", indent, "", values->reference_value);
2521 fprintf(fp, "%*sMask: %u\n", indent, "", values->mask);
2522 fprintf(fp, "%*sCompare Function: %s\n", indent, "", mali_func_as_str(values->compare_function));
2523 fprintf(fp, "%*sStencil Fail: %s\n", indent, "", mali_stencil_op_as_str(values->stencil_fail));
2524 fprintf(fp, "%*sDepth Fail: %s\n", indent, "", mali_stencil_op_as_str(values->depth_fail));
2525 fprintf(fp, "%*sDepth Pass: %s\n", indent, "", mali_stencil_op_as_str(values->depth_pass));
2736 MALI_RENDERER_STATE_print(FILE *fp, const struct MALI_RENDERER_STATE * values, unsigned indent)
2738 fprintf(fp, "%*sShader:\n", indent, "");
2739 MALI_SHADER_print(fp, &values->shader, indent + 2);
2740 fprintf(fp, "%*sProperties:\n", indent, "");
2741 MALI_RENDERER_PROPERTIES_print(fp, &values->properties, indent + 2);
2742 fprintf(fp, "%*sDepth units: %f\n", indent, "", values->depth_units);
2743 fprintf(fp, "%*sDepth factor: %f\n", indent, "", values->depth_factor);
2744 fprintf(fp, "%*sDepth bias clamp: %f\n", indent, "", values->depth_bias_clamp);
2745 fprintf(fp, "%*sMultisample, Misc:\n", indent, "");
2746 MALI_MULTISAMPLE_MISC_print(fp, &values->multisample_misc, indent + 2);
2747 fprintf(fp, "%*sStencil Mask, Misc:\n", indent, "");
2748 MALI_STENCIL_MASK_MISC_print(fp, &values->stencil_mask_misc, indent + 2);
2749 fprintf(fp, "%*sStencil front:\n", indent, "");
2750 MALI_STENCIL_print(fp, &values->stencil_front, indent + 2);
2751 fprintf(fp, "%*sStencil back:\n", indent, "");
2752 MALI_STENCIL_print(fp, &values->stencil_back, indent + 2);
2753 fprintf(fp, "%*sAlpha reference: %f\n", indent, "", values->alpha_reference);
2754 fprintf(fp, "%*sThread Balancing: %u\n", indent, "", values->thread_balancing);
2755 fprintf(fp, "%*sBlend Shader: 0x%" PRIx64 "\n", indent, "", values->blend_shader);
2756 fprintf(fp, "%*sBlend Equation:\n", indent, "");
2757 MALI_BLEND_EQUATION_print(fp, &values->blend_equation, indent + 2);
2758 fprintf(fp, "%*sBlend Constant: %f\n", indent, "", values->blend_constant);
2793 MALI_UNIFORM_BUFFER_print(FILE *fp, const struct MALI_UNIFORM_BUFFER * values, unsigned indent)
2795 fprintf(fp, "%*sEntries: %u\n", indent, "", values->entries);
2796 fprintf(fp, "%*sPointer: 0x%" PRIx64 "\n", indent, "", values->pointer);
2859 MALI_VIEWPORT_print(FILE *fp, const struct MALI_VIEWPORT * values, unsigned indent)
2861 fprintf(fp, "%*sMinimum X: %f\n", indent, "", values->minimum_x);
2862 fprintf(fp, "%*sMinimum Y: %f\n", indent, "", values->minimum_y);
2863 fprintf(fp, "%*sMaximum X: %f\n", indent, "", values->maximum_x);
2864 fprintf(fp, "%*sMaximum Y: %f\n", indent, "", values->maximum_y);
2865 fprintf(fp, "%*sMinimum Z: %f\n", indent, "", values->minimum_z);
2866 fprintf(fp, "%*sMaximum Z: %f\n", indent, "", values->maximum_z);
2867 fprintf(fp, "%*sScissor Minimum X: %u\n", indent, "", values->scissor_minimum_x);
2868 fprintf(fp, "%*sScissor Minimum Y: %u\n", indent, "", values->scissor_minimum_y);
2869 fprintf(fp, "%*sScissor Maximum X: %u\n", indent, "", values->scissor_maximum_x);
2870 fprintf(fp, "%*sScissor Maximum Y: %u\n", indent, "", values->scissor_maximum_y);
2926 MALI_LOCAL_STORAGE_print(FILE *fp, const struct MALI_LOCAL_STORAGE * values, unsigned indent)
2928 fprintf(fp, "%*sTLS Size: %u\n", indent, "", values->tls_size);
2929 fprintf(fp, "%*sTLS Initial Stack Pointer Offset: %u\n", indent, "", values->tls_initial_stack_pointer_offset);
2930 fprintf(fp, "%*sWLS Instances: %u\n", indent, "", values->wls_instances);
2931 fprintf(fp, "%*sWLS Size Base: %u\n", indent, "", values->wls_size_base);
2932 fprintf(fp, "%*sWLS Size Scale: %u\n", indent, "", values->wls_size_scale);
2933 fprintf(fp, "%*sTLS Base Pointer: 0x%" PRIx64 "\n", indent, "", values->tls_base_pointer);
2934 fprintf(fp, "%*sWLS Base Pointer: 0x%" PRIx64 "\n", indent, "", values->wls_base_pointer);
2986 MALI_TILER_CONTEXT_print(FILE *fp, const struct MALI_TILER_CONTEXT * values, unsigned indent)
2988 fprintf(fp, "%*sPolygon List Size: %u\n", indent, "", values->polygon_list_size);
2989 fprintf(fp, "%*sHierarchy Mask: %u\n", indent, "", values->hierarchy_mask);
2990 fprintf(fp, "%*sPolygon List: 0x%" PRIx64 "\n", indent, "", values->polygon_list);
2991 fprintf(fp, "%*sPolygon List Body: 0x%" PRIx64 "\n", indent, "", values->polygon_list_body);
2992 fprintf(fp, "%*sHeap Start: 0x%" PRIx64 "\n", indent, "", values->heap_start);
2993 fprintf(fp, "%*sHeap End: 0x%" PRIx64 "\n", indent, "", values->heap_end);
3042 MALI_TILER_WEIGHTS_print(FILE *fp, const struct MALI_TILER_WEIGHTS * values, unsigned indent)
3044 fprintf(fp, "%*sWeight0: %u\n", indent, "", values->weight0);
3045 fprintf(fp, "%*sWeight1: %u\n", indent, "", values->weight1);
3046 fprintf(fp, "%*sWeight2: %u\n", indent, "", values->weight2);
3047 fprintf(fp, "%*sWeight3: %u\n", indent, "", values->weight3);
3048 fprintf(fp, "%*sWeight4: %u\n", indent, "", values->weight4);
3049 fprintf(fp, "%*sWeight5: %u\n", indent, "", values->weight5);
3050 fprintf(fp, "%*sWeight6: %u\n", indent, "", values->weight6);
3051 fprintf(fp, "%*sWeight7: %u\n", indent, "", values->weight7);
3290 MALI_RT_BUFFER_print(FILE *fp, const struct MALI_RT_BUFFER * values, unsigned indent)
3292 fprintf(fp, "%*sBase: 0x%" PRIx64 "\n", indent, "", values->base);
3293 fprintf(fp, "%*sRow Stride: %u\n", indent, "", values->row_stride);
3294 fprintf(fp, "%*sSurface Stride: %u\n", indent, "", values->surface_stride);
3513 MALI_FRAMEBUFFER_PARAMETERS_print(FILE *fp, const struct MALI_FRAMEBUFFER_PARAMETERS * values, unsigned indent)
3515 fprintf(fp, "%*sInternal Format: %s\n", indent, "", mali_color_buffer_internal_format_as_str(values->internal_format));
3516 fprintf(fp, "%*sSample Count: %u\n", indent, "", values->sample_count);
3517 fprintf(fp, "%*sSwizzle: %u\n", indent, "", values->swizzle);
3518 fprintf(fp, "%*sColor Writeback Format: %s\n", indent, "", mali_color_format_as_str(values->color_writeback_format));
3519 fprintf(fp, "%*sMSAA: %s\n", indent, "", mali_msaa_as_str(values->msaa));
3520 fprintf(fp, "%*ssRGB: %s\n", indent, "", values->srgb ? "true" : "false");
3521 fprintf(fp, "%*sColor Block Format: %s\n", indent, "", mali_block_format_as_str(values->color_block_format));
3522 fprintf(fp, "%*sDithering Enable: %s\n", indent, "", values->dithering_enable ? "true" : "false");
3523 fprintf(fp, "%*sClean Pixel Write Enable: %s\n", indent, "", values->clean_pixel_write_enable ? "true" : "false");
3524 fprintf(fp, "%*sColor Preload Enable: %s\n", indent, "", values->color_preload_enable ? "true" : "false");
3525 fprintf(fp, "%*sColor Write Enable: %s\n", indent, "", values->color_write_enable ? "true" : "false");
3526 fprintf(fp, "%*sX Downsampling Scale: %u\n", indent, "", values->x_downsampling_scale);
3527 fprintf(fp, "%*sY Downsampling Scale: %u\n", indent, "", values->y_downsampling_scale);
3528 fprintf(fp, "%*sDownsampling Accumulation Mode: %s\n", indent, "", mali_downsampling_accumulation_mode_as_str(values->downsampling_accumulation_mode));
3529 fprintf(fp, "%*sSample Layout: %s\n", indent, "", mali_sample_layout_as_str(values->sample_layout));
3530 fprintf(fp, "%*sBig Endian: %s\n", indent, "", values->big_endian ? "true" : "false");
3531 fprintf(fp, "%*sTie-Break Rule: %s\n", indent, "", mali_tie_break_rule_as_str(values->tie_break_rule));
3532 fprintf(fp, "%*sCRC Read Enable: %s\n", indent, "", values->crc_read_enable ? "true" : "false");
3533 fprintf(fp, "%*sCRC Write Enable: %s\n", indent, "", values->crc_write_enable ? "true" : "false");
3534 fprintf(fp, "%*sZS Block Format: %s\n", indent, "", mali_block_format_as_str(values->zs_block_format));
3535 fprintf(fp, "%*sZS Format: %s\n", indent, "", mali_zs_format_as_str(values->zs_format));
3536 fprintf(fp, "%*sZS Preload Enable: %s\n", indent, "", values->zs_preload_enable ? "true" : "false");
3537 fprintf(fp, "%*sZS Write Enable: %s\n", indent, "", values->zs_write_enable ? "true" : "false");
3538 fprintf(fp, "%*sS Block Format: %s\n", indent, "", mali_block_format_as_str(values->s_block_format));
3539 fprintf(fp, "%*sS Format: %s\n", indent, "", mali_s_format_as_str(values->s_format));
3540 fprintf(fp, "%*sS Write Enable: %s\n", indent, "", values->s_write_enable ? "true" : "false");
3541 fprintf(fp, "%*sBound Min X: %u\n", indent, "", values->bound_min_x);
3542 fprintf(fp, "%*sBound Min Y: %u\n", indent, "", values->bound_min_y);
3543 fprintf(fp, "%*sBound Max X: %u\n", indent, "", values->bound_max_x);
3544 fprintf(fp, "%*sBound Max Y: %u\n", indent, "", values->bound_max_y);
3545 fprintf(fp, "%*sDCD Offset: %u\n", indent, "", values->dcd_offset);
3546 fprintf(fp, "%*sCRC Buffer:\n", indent, "");
3547 MALI_RT_BUFFER_print(fp, &values->crc_buffer, indent + 2);
3548 fprintf(fp, "%*sColor Writeback:\n", indent, "");
3549 MALI_RT_BUFFER_print(fp, &values->color_writeback, indent + 2);
3550 fprintf(fp, "%*sZS Writeback:\n", indent, "");
3551 MALI_RT_BUFFER_print(fp, &values->zs_writeback, indent + 2);
3552 fprintf(fp, "%*sS Writeback:\n", indent, "");
3553 MALI_RT_BUFFER_print(fp, &values->s_writeback, indent + 2);
3554 fprintf(fp, "%*sColor Load Address: 0x%" PRIx64 "\n", indent, "", values->color_load_address);
3555 fprintf(fp, "%*sColor Load Row Stride: %u\n", indent, "", values->color_load_row_stride);
3556 fprintf(fp, "%*sColor Load Surface Stride: %u\n", indent, "", values->color_load_surface_stride);
3557 fprintf(fp, "%*sClear Color 0: %u\n", indent, "", values->clear_color_0);
3558 fprintf(fp, "%*sClear Color 1: %u\n", indent, "", values->clear_color_1);
3559 fprintf(fp, "%*sClear Color 2: %u\n", indent, "", values->clear_color_2);
3560 fprintf(fp, "%*sClear Color 3: %u\n", indent, "", values->clear_color_3);
3561 fprintf(fp, "%*sZS Load Address: 0x%" PRIx64 "\n", indent, "", values->zs_load_address);
3562 fprintf(fp, "%*sZS Load Row Stride: %u\n", indent, "", values->zs_load_row_stride);
3563 fprintf(fp, "%*sZS Load Surface Stride: %u\n", indent, "", values->zs_load_surface_stride);
3564 fprintf(fp, "%*sZ Clear: %f\n", indent, "", values->z_clear);
3565 fprintf(fp, "%*sS Clear: %u\n", indent, "", values->s_clear);
3603 MALI_FRAMEBUFFER_PADDING_1_print(FILE *fp, const struct MALI_FRAMEBUFFER_PADDING_1 * values, unsigned indent)
3646 MALI_FRAMEBUFFER_PADDING_2_print(FILE *fp, const struct MALI_FRAMEBUFFER_PADDING_2 * values, unsigned indent)
3785 MALI_JOB_HEADER_print(FILE *fp, const struct MALI_JOB_HEADER * values, unsigned indent)
3787 fprintf(fp, "%*sException Status: %u\n", indent, "", values->exception_status);
3788 fprintf(fp, "%*sFirst Incomplete Task: %u\n", indent, "", values->first_incomplete_task);
3789 fprintf(fp, "%*sFault Pointer: 0x%" PRIx64 "\n", indent, "", values->fault_pointer);
3790 fprintf(fp, "%*sIs 64b: %s\n", indent, "", values->is_64b ? "true" : "false");
3791 fprintf(fp, "%*sType: %s\n", indent, "", mali_job_type_as_str(values->type));
3792 fprintf(fp, "%*sBarrier: %s\n", indent, "", values->barrier ? "true" : "false");
3793 fprintf(fp, "%*sInvalidate Cache: %s\n", indent, "", values->invalidate_cache ? "true" : "false");
3794 fprintf(fp, "%*sSuppress Prefetch: %s\n", indent, "", values->suppress_prefetch ? "true" : "false");
3795 fprintf(fp, "%*sEnable Texture Mapper: %s\n", indent, "", values->enable_texture_mapper ? "true" : "false");
3796 fprintf(fp, "%*sRelax Dependency 1: %s\n", indent, "", values->relax_dependency_1 ? "true" : "false");
3797 fprintf(fp, "%*sRelax Dependency 2: %s\n", indent, "", values->relax_dependency_2 ? "true" : "false");
3798 fprintf(fp, "%*sIndex: %u\n", indent, "", values->index);
3799 fprintf(fp, "%*sDependency 1: %u\n", indent, "", values->dependency_1);
3800 fprintf(fp, "%*sDependency 2: %u\n", indent, "", values->dependency_2);
3801 fprintf(fp, "%*sNext: 0x%" PRIx64 "\n", indent, "", values->next);
3844 MALI_FRAGMENT_JOB_PAYLOAD_print(FILE *fp, const struct MALI_FRAGMENT_JOB_PAYLOAD * values, unsigned indent)
3846 fprintf(fp, "%*sBound Min X: %u\n", indent, "", values->bound_min_x);
3847 fprintf(fp, "%*sBound Min Y: %u\n", indent, "", values->bound_min_y);
3848 fprintf(fp, "%*sBound Max X: %u\n", indent, "", values->bound_max_x);
3849 fprintf(fp, "%*sBound Max Y: %u\n", indent, "", values->bound_max_y);
3850 fprintf(fp, "%*sFramebuffer: 0x%" PRIx64 "\n", indent, "", values->framebuffer);
3918 MALI_WRITE_VALUE_JOB_PAYLOAD_print(FILE *fp, const struct MALI_WRITE_VALUE_JOB_PAYLOAD * values, unsigned indent)
3920 fprintf(fp, "%*sAddress: 0x%" PRIx64 "\n", indent, "", values->address);
3921 fprintf(fp, "%*sType: %s\n", indent, "", mali_write_value_type_as_str(values->type));
3975 MALI_CACHE_FLUSH_JOB_PAYLOAD_print(FILE *fp, const struct MALI_CACHE_FLUSH_JOB_PAYLOAD * values, unsigned indent)
3977 fprintf(fp, "%*sClean Shader Core LS: %s\n", indent, "", values->clean_shader_core_ls ? "true" : "false");
3978 fprintf(fp, "%*sInvalidate Shader Core LS: %s\n", indent, "", values->invalidate_shader_core_ls ? "true" : "false");
3979 fprintf(fp, "%*sInvalidate Shader Core Other: %s\n", indent, "", values->invalidate_shader_core_other ? "true" : "false");
3980 fprintf(fp, "%*sJob Manager Clean: %s\n", indent, "", values->job_manager_clean ? "true" : "false");
3981 fprintf(fp, "%*sJob Manager Invalidate: %s\n", indent, "", values->job_manager_invalidate ? "true" : "false");
3982 fprintf(fp, "%*sTiler Clean: %s\n", indent, "", values->tiler_clean ? "true" : "false");
3983 fprintf(fp, "%*sTiler Invalidate: %s\n", indent, "", values->tiler_invalidate ? "true" : "false");
3984 fprintf(fp, "%*sL2 Clean: %s\n", indent, "", values->l2_clean ? "true" : "false");
3985 fprintf(fp, "%*sL2 Invalidate: %s\n", indent, "", values->l2_invalidate ? "true" : "false");
4062 MALI_COMPUTE_JOB_PARAMETERS_print(FILE *fp, const struct MALI_COMPUTE_JOB_PARAMETERS * values, unsigned indent)
4064 fprintf(fp, "%*sJob Task Split: %u\n", indent, "", values->job_task_split);
4127 MALI_PRIMITIVE_SIZE_print(FILE *fp, const struct MALI_PRIMITIVE_SIZE * values, unsigned indent)
4129 fprintf(fp, "%*sConstant: %f\n", indent, "", values->constant);
4130 fprintf(fp, "%*sSize Array: 0x%" PRIx64 "\n", indent, "", values->size_array);