radv/rgp: bump the instrumentation spec version to 1
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 Mar 2020 13:08:30 +0000 (14:08 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 Mar 2020 09:05:40 +0000 (10:05 +0100)
RGP expects the version to be 1, otherwise it doesn't display the
barriers (including layout transitions) correctly.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4031>

src/amd/vulkan/radv_rgp.c

index c2dc98f4feca79d8d3f94505456a4630f51dd719..cea3ad0e8cb5cef71dadfc307bbcf1a8d70547af 100644 (file)
@@ -546,7 +546,7 @@ radv_sqtt_fill_sqtt_desc(struct radv_device *device,
 
        chunk->sqtt_version = radv_chip_class_to_sqtt_version(device->physical_device->rad_info.chip_class);
        chunk->shader_engine_index = shader_engine_index;
-       chunk->v1.instrumentation_spec_version = 0;
+       chunk->v1.instrumentation_spec_version = 1;
        chunk->v1.instrumentation_api_version = 0;
        chunk->v1.compute_unit_index = compute_unit_index;
 }