mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-31 09:28:29 +00:00
graphics: convert HDR10 video-out output to SDR (#2003)
graphics: convert PQ video-out frames for SDR swapchains Co-authored-by: XxOtakuXx <fadilfawmi@gmail.com>
This commit is contained in:
1 parent
abd77f574c
commit
026189166f
6 files changed
+243
-32
No files matched your search
+3
-1
@@ -316,7 +316,7 @@ function(add_gpu_blit_shader shader_name shader_file)
|
||||
"-I${gpu_tiler_shader_dir}" -o "${shader_spv}" "${shader_source}"
|
||||
COMMAND ${CMAKE_COMMAND} -DINPUT=${shader_spv} -DOUTPUT=${shader_header}
|
||||
-DSYMBOL=${shader_symbol} -P "${KYTY_SOURCE_DIR}/embed_spirv.cmake"
|
||||
DEPENDS "${shader_source}"
|
||||
DEPENDS "${shader_source}" "${gpu_tiler_shader_dir}/gpu_video_out_hdr10_to_sdr.inc"
|
||||
VERBATIM
|
||||
)
|
||||
set(gpu_blit_shader_headers ${gpu_blit_shader_headers} "${shader_header}" PARENT_SCOPE)
|
||||
@@ -738,6 +738,8 @@ if(BUILD_TESTING)
|
||||
COMMAND $<TARGET_FILE:shader_recompiler_compute_tests> --gpu-command-lane-only)
|
||||
add_test(NAME pm4_flip
|
||||
COMMAND $<TARGET_FILE:shader_recompiler_compute_tests> --flip-only)
|
||||
add_test(NAME video_out_hdr10_to_sdr
|
||||
COMMAND $<TARGET_FILE:shader_recompiler_compute_tests> --video-out-only)
|
||||
add_test(NAME depth_bits
|
||||
COMMAND $<TARGET_FILE:shader_recompiler_compute_tests> --depth-bits-only)
|
||||
add_test(NAME msaa_storage
|
||||
|
||||
Reference in new issue
Block a user