mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
6b9f614d32
- Removes special sampling logic from the GX shader in favor of performing conversions using separate draw calls and swizzling - Simplifies texture bindings - Much more accurate EFB copy handling (still incomplete but better) - Handle copy clears appropriately (color, alpha, depth) + GXSetDstAlpha copies - Re-enables code for buffered texture uploads - Adds `lastTextureUploadSize` to AuroraStats - Use RG8 + swizzle for IA4/IA8
43 lines
1.5 KiB
CMake
43 lines
1.5 KiB
CMake
add_library(aurora_gx STATIC
|
|
lib/gfx/clear.cpp
|
|
lib/gfx/common.cpp
|
|
lib/gfx/tex_copy_conv.cpp
|
|
lib/gfx/tex_palette_conv.cpp
|
|
lib/gfx/texture.cpp
|
|
lib/gfx/texture_convert.cpp
|
|
lib/gx/command_processor.cpp
|
|
lib/gx/fifo.cpp
|
|
lib/gx/gx.cpp
|
|
lib/gx/pipeline.cpp
|
|
lib/gx/shader.cpp
|
|
lib/gx/shader_info.cpp
|
|
lib/dolphin/gx/GXBump.cpp
|
|
lib/dolphin/gx/GXCull.cpp
|
|
lib/dolphin/gx/GXDispList.cpp
|
|
lib/dolphin/gx/GXDraw.cpp
|
|
lib/dolphin/gx/GXExtra.cpp
|
|
lib/dolphin/gx/GXFifo.cpp
|
|
lib/dolphin/gx/GXFrameBuffer.cpp
|
|
lib/dolphin/gx/GXGeometry.cpp
|
|
lib/dolphin/gx/GXGet.cpp
|
|
lib/dolphin/gx/GXLighting.cpp
|
|
lib/dolphin/gx/GXManage.cpp
|
|
lib/dolphin/gx/GXPerf.cpp
|
|
lib/dolphin/gx/GXPixel.cpp
|
|
lib/dolphin/gx/GXTev.cpp
|
|
lib/dolphin/gx/GXTexture.cpp
|
|
lib/dolphin/gx/GXTransform.cpp
|
|
lib/dolphin/gx/GXVert.cpp
|
|
lib/dolphin/gx/GXAurora.cpp
|
|
)
|
|
add_library(aurora::gx ALIAS aurora_gx)
|
|
|
|
target_link_libraries(aurora_gx PUBLIC aurora::core xxhash)
|
|
target_link_libraries(aurora_gx PRIVATE absl::btree absl::flat_hash_map)
|
|
if (EMSCRIPTEN)
|
|
target_link_options(aurora_gx PUBLIC -sUSE_WEBGPU=1 -sASYNCIFY -sEXIT_RUNTIME)
|
|
target_compile_definitions(aurora_gx PRIVATE ENABLE_BACKEND_WEBGPU)
|
|
else ()
|
|
target_link_libraries(aurora_gx PRIVATE dawn::webgpu_dawn)
|
|
target_compile_definitions(aurora_gx PRIVATE WEBGPU_DAWN)
|
|
endif () |