2024-07-19 15:48:00 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2024 Blender Authors
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup gpu
|
|
|
|
|
*/
|
|
|
|
|
|
2024-11-12 18:53:34 +01:00
|
|
|
#ifdef GPU_SHADER
|
|
|
|
|
# pragma once
|
2025-09-15 17:22:19 +02:00
|
|
|
# include "gpu_shader_compat.hh"
|
2024-11-12 18:53:34 +01:00
|
|
|
|
|
|
|
|
# include "GPU_shader_shared.hh"
|
|
|
|
|
#endif
|
|
|
|
|
|
2024-07-19 15:48:00 +02:00
|
|
|
#include "gpu_shader_create_info.hh"
|
|
|
|
|
|
|
|
|
|
GPU_SHADER_CREATE_INFO(gpu_print)
|
2025-04-24 14:38:13 +02:00
|
|
|
STORAGE_BUF_FREQ(GPU_SHADER_PRINTF_SLOT, read_write, uint, gpu_print_buf[], PASS)
|
2024-10-04 19:04:40 +02:00
|
|
|
DEFINE_VALUE("GPU_SHADER_PRINTF_MAX_CAPACITY", STRINGIFY(GPU_SHADER_PRINTF_MAX_CAPACITY))
|
|
|
|
|
GPU_SHADER_CREATE_END()
|