mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 03:31:48 +01:00
Add -fsigned-bitfields
for defined bitfield int
behavior
We want consistent behavior between signed `int`s in bitfields and outside of bitfields, the `-fsigned-bitfields` flag enforces this behavior.
This commit is contained in:
parent
87c8dc94d2
commit
a9aa16798f
@ -302,7 +302,7 @@ add_library(skyline SHARED
|
||||
)
|
||||
target_include_directories(skyline PRIVATE ${source_DIR}/skyline)
|
||||
# target_precompile_headers(skyline PRIVATE ${source_DIR}/skyline/common.h) # PCH will currently break Intellisense
|
||||
target_compile_options(skyline PRIVATE -Wall -Wno-unknown-attributes -Wno-c++20-extensions -Wno-c++17-extensions -Wno-c99-designator -Wno-reorder -Wno-missing-braces -Wno-unused-variable -Wno-unused-private-field -Wno-dangling-else -Wconversion)
|
||||
target_compile_options(skyline PRIVATE -Wall -Wno-unknown-attributes -Wno-c++20-extensions -Wno-c++17-extensions -Wno-c99-designator -Wno-reorder -Wno-missing-braces -Wno-unused-variable -Wno-unused-private-field -Wno-dangling-else -Wconversion -fsigned-bitfields)
|
||||
|
||||
target_link_libraries(skyline PRIVATE shader_recompiler)
|
||||
target_link_libraries_system(skyline android perfetto fmt lz4_static tzcode oboe vkma mbedcrypto opus Boost::intrusive Boost::container range-v3)
|
||||
|
@ -72,7 +72,7 @@ namespace skyline::gpu::interconnect {
|
||||
u32 cubemapAnisotropy : 1;
|
||||
u32 cubemapInterfaceFiltering : 1;
|
||||
SamplerReduction reductionFilter : 2;
|
||||
signed int mipLodBias : 13;
|
||||
i32 mipLodBias : 13;
|
||||
u32 floatCoordNormalization : 1;
|
||||
u32 trilinearOptimization : 5;
|
||||
u32 _pad2_ : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user