Blender V4.3
shader_create_info_test.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#include "testing/testing.h"
6
8#include "gpu_testing.hh"
9
10namespace blender::gpu::tests {
11
16{
20 {
21 GTEST_SKIP() << "NVIDIA fails to compile workaround due to reserved names. Gladly it doesn't "
22 "need the workaround.";
23 }
24
25 EXPECT_TRUE(gpu_shader_create_info_compile(nullptr));
26}
27GPU_TEST(static_shaders)
28
29} // namespace blender::gpu::tests
@ G_DEBUG_GPU_FORCE_WORKAROUNDS
@ GPU_DRIVER_OFFICIAL
bool GPU_type_matches_ex(eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver, eGPUBackendType backend)
@ GPU_OS_ANY
@ GPU_DEVICE_NVIDIA
bool gpu_shader_create_info_compile(const char *name_starts_with_filter)
#define GPU_TEST(test_name)
#define G(x, y, z)