mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-18 20:48:29 +00:00
d9873e30bc
* shader_recompiler: Add LDEXP * shader_recompiler: Add most image integer atomic ops * shader_recompiler: Implement shared memory load/store * shader_recompiler: More image atomics * externals: Update sirit * clang format * cmake: Add missing files * shader_recompiler: Fix some atomic bugs * shader_recompiler: Vs outputs * shader_recompiler: Shared mem has side-effects, fix format component order * shader_recompiler: Inline constant buffer impl * video_core: Fix regressions * Work * Fixup a few things
35 lines
1 KiB
C++
35 lines
1 KiB
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "common/types.h"
|
|
|
|
namespace Shader {
|
|
|
|
struct Profile {
|
|
u32 supported_spirv{0x00010000};
|
|
bool unified_descriptor_binding{};
|
|
bool support_descriptor_aliasing{};
|
|
bool support_int8{};
|
|
bool support_int16{};
|
|
bool support_int64{};
|
|
bool support_vertex_instance_id{};
|
|
bool support_float_controls{};
|
|
bool support_separate_denorm_behavior{};
|
|
bool support_separate_rounding_mode{};
|
|
bool support_fp16_denorm_preserve{};
|
|
bool support_fp32_denorm_preserve{};
|
|
bool support_fp16_denorm_flush{};
|
|
bool support_fp32_denorm_flush{};
|
|
bool support_fp16_signed_zero_nan_preserve{};
|
|
bool support_fp32_signed_zero_nan_preserve{};
|
|
bool support_fp64_signed_zero_nan_preserve{};
|
|
bool support_explicit_workgroup_layout{};
|
|
bool has_broken_spirv_clamp{};
|
|
bool lower_left_origin_mode{};
|
|
u64 min_ssbo_alignment{};
|
|
};
|
|
|
|
} // namespace Shader
|