mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 22:20:09 +01:00
radv: move radv_printf_data to radv_printf.h
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28592>
This commit is contained in:
parent
9223b80086
commit
a29fda1ba0
3 changed files with 20 additions and 10 deletions
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include "util/mesa-blake3.h"
|
||||
|
||||
#include "radv_printf.h"
|
||||
#include "radv_queue.h"
|
||||
#include "radv_radeon_winsys.h"
|
||||
#include "radv_rra.h"
|
||||
|
|
@ -79,15 +80,6 @@ struct radv_device_cache_key {
|
|||
uint32_t primitives_generated_query : 1;
|
||||
};
|
||||
|
||||
struct radv_printf_data {
|
||||
uint32_t buffer_size;
|
||||
VkBuffer buffer;
|
||||
VkDeviceMemory memory;
|
||||
VkDeviceAddress buffer_addr;
|
||||
void *data;
|
||||
struct util_dynarray formats;
|
||||
};
|
||||
|
||||
enum radv_force_vrs {
|
||||
RADV_FORCE_VRS_1x1 = 0,
|
||||
RADV_FORCE_VRS_2x2,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include "radv_printf.h"
|
||||
#include "radv_device.h"
|
||||
#include "radv_physical_device.h"
|
||||
|
||||
#include "util/hash_table.h"
|
||||
|
|
|
|||
|
|
@ -28,11 +28,28 @@
|
|||
#ifndef RADV_PRINTF_H
|
||||
#define RADV_PRINTF_H
|
||||
|
||||
#include "radv_device.h"
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
#include "util/u_dynarray.h"
|
||||
|
||||
struct radv_device;
|
||||
typedef struct nir_builder nir_builder;
|
||||
typedef struct nir_shader nir_shader;
|
||||
typedef struct nir_def nir_def;
|
||||
|
||||
struct radv_printf_data {
|
||||
uint32_t buffer_size;
|
||||
VkBuffer buffer;
|
||||
VkDeviceMemory memory;
|
||||
VkDeviceAddress buffer_addr;
|
||||
void *data;
|
||||
struct util_dynarray formats;
|
||||
};
|
||||
|
||||
struct radv_printf_format {
|
||||
char *string;
|
||||
uint32_t divergence_mask;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue