diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-14 11:25:23 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-09-15 09:16:34 +0200 |
commit | 176c2ad10cfce40f3ee73588e8e5f82826b748b6 (patch) | |
tree | cf753510aafd9ff2a367290746f1b1f7bf64f96b /src/amd/vulkan/radv_radeon_winsys.h | |
parent | 1b163238f5b652d1c6c9e50ec36afe537f77411f (diff) |
radv: add get_chip_name() callback
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_radeon_winsys.h')
-rw-r--r-- | src/amd/vulkan/radv_radeon_winsys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index 8e60c23f48f..f7399de1aed 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -159,6 +159,8 @@ struct radeon_winsys { bool (*read_registers)(struct radeon_winsys *ws, unsigned reg_offset, unsigned num_registers, uint32_t *out); + const char *(*get_chip_name)(struct radeon_winsys *ws); + struct radeon_winsys_bo *(*buffer_create)(struct radeon_winsys *ws, uint64_t size, unsigned alignment, |