mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
radeonsi: print more fields in si_dump_shader_key
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7721>
This commit is contained in:
parent
071fd55381
commit
ebcca77d4b
1 changed files with 9 additions and 0 deletions
|
|
@ -1297,10 +1297,19 @@ static void si_dump_shader_key(const struct si_shader *shader, FILE *f)
|
|||
stage == MESA_SHADER_VERTEX) &&
|
||||
!key->as_es && !key->as_ls) {
|
||||
fprintf(f, " opt.kill_outputs = 0x%" PRIx64 "\n", key->opt.kill_outputs);
|
||||
fprintf(f, " opt.kill_pointsize = 0x%x\n", key->opt.kill_pointsize);
|
||||
fprintf(f, " opt.kill_clip_distances = 0x%x\n", key->opt.kill_clip_distances);
|
||||
if (stage != MESA_SHADER_GEOMETRY)
|
||||
fprintf(f, " opt.ngg_culling = 0x%x\n", key->opt.ngg_culling);
|
||||
}
|
||||
|
||||
fprintf(f, " opt.prefer_mono = %u\n", key->opt.prefer_mono);
|
||||
fprintf(f, " opt.inline_uniforms = %u (0x%x, 0x%x, 0x%x, 0x%x)\n",
|
||||
key->opt.inline_uniforms,
|
||||
key->opt.inlined_uniform_values[0],
|
||||
key->opt.inlined_uniform_values[1],
|
||||
key->opt.inlined_uniform_values[2],
|
||||
key->opt.inlined_uniform_values[3]);
|
||||
}
|
||||
|
||||
static void si_optimize_vs_outputs(struct si_shader_context *ctx)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue