video_core: Rework clear values (#1381)

* Clear color convertion

* Add missing formats

* Add swap handling

* Format bits and offsets

* clang-format

* Make num_components const

* Initialize alpha to 1

* Handle SnormNz as Snorm

* Don0t leave accidental nonzero values

* parallel3 for linux-qt

* Move number_utils to common
This commit is contained in:
Lander Gallastegi 2024-10-16 11:55:45 +02:00 committed by GitHub
parent 170db22d9c
commit 877cda9b9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 561 additions and 62 deletions

View file

@ -141,11 +141,11 @@ if (WIN32)
target_compile_options(sirit PUBLIC "-Wno-error=unused-command-line-argument")
endif()
if (APPLE)
# half
add_library(half INTERFACE)
target_include_directories(half INTERFACE half/include)
# half
add_library(half INTERFACE)
target_include_directories(half INTERFACE half/include)
if (APPLE)
# date
if (NOT TARGET date::date-tz)
option(BUILD_TZ_LIB "" ON)