diff options
author | Dave Airlie <[email protected]> | 2016-11-22 04:17:49 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-11-22 07:20:17 +0000 |
commit | f395e3445df98b0398865a1897bca003f9add6f4 (patch) | |
tree | dff13933d0e01baac2c6f408244b0b17a084f22f /src/amd/vulkan/radv_private.h | |
parent | 220912e21432dba996cb2694dea480c65cf6a7c6 (diff) |
radv: add support for shader stats dump
I've started working on a shader-db alike for Vulkan,
it's based on vktrace and it records pipelines, this
adds support to dump the shader stats exactly like
radeonsi does, so I can reuse the shader-db scripts it
uses.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 3d17895a118..a5d13a9239a 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -444,6 +444,7 @@ struct radv_device { bool allow_fast_clears; bool allow_dcc; + bool shader_stats_dump; /* MSAA sample locations. * The first index is the sample index. @@ -794,6 +795,7 @@ struct radv_shader_variant { struct ac_shader_variant_info info; unsigned rsrc1; unsigned rsrc2; + uint32_t code_size; }; struct radv_depth_stencil_state { |