Commit graph

62 commits

Author SHA1 Message Date
Joshua Ashton
274d2a6555 rendervulkan: Fix NV12 capture colors
Closes: #1014
2023-11-14 20:09:04 +00:00
Joshua Ashton
59c1571e34 rendervulkan: Fix HDR heatmap with mura (off by a gamma 2.2) 2023-11-09 18:47:46 +00:00
Joshua Ashton
8cee4f2e63 rendervulkan: Fix blend_tf 2023-10-25 07:05:30 +01:00
Joshua Ashton
6b362ac5ff rendervulkan: Add passthru colorspace 2023-10-25 07:03:56 +01:00
Joshua Ashton
50190f63c8 rendervulkan: Make CTM for alpha behaviour match AMDGPU 2023-10-25 07:03:51 +01:00
Joshua Ashton
06532b071c rendervulkan: Implement CTM 2023-10-25 04:06:48 +01:00
Joshua Ashton
039caccfea rendervulkan: Move away from push constants
CTM data is too big to fit in push constants
2023-10-25 03:40:18 +01:00
Joshua Ashton
766f9b459c rendervulkan: Add PIXEL filter (band-limited pixel filter)
Adds a "pixel" filter which is a band-limited pixel filter based on
https://github.com/Themaister/Granite/blob/master/assets/shaders/inc/bandlimited_pixel_filter.h
by Hans-Kristian.

Closes: #712
2023-10-06 16:12:46 -07:00
Joshua Ashton
e17627beef rendervulkan: Emulate bilinear sampling when we need to do custom degammas
Fixes blending of PQ/HDR10 and 10-bit sRGB surfaces
2023-10-06 16:12:46 -07:00
Joshua Ashton
bc3c4bc275 steamcompmgr, rendervulkan: Implement deferred partial composition
Use partial composition for overlays when we have too many layers.
2023-07-09 20:02:20 +01:00
Jeremy Selan
baea00fb15 [color_helpers]: cleanup tonemapping support 2023-05-25 13:16:08 -07:00
Jeremy Selan
3534657de6 heatmap: fix typo 2023-05-10 17:32:25 -07:00
Joshua Ashton
7ef68ce050 main, steamcompmgr, shaders: Handle lack of LUTs + add debug for disabling color mgmt 2023-04-23 17:09:40 +01:00
Joshua Ashton
50925d9a11 shaders: Fix RCAS colorspace
Closes: #850
2023-04-22 02:46:29 +01:00
Jeremy Selan
64ae944203 updated heatmap_hard appearance 2023-04-21 11:46:43 -07:00
Jeremy Selan
c6d3ac7c05 added Hard heatmap mode
also fixed the heatmap atom parsing
2023-04-20 18:20:58 -07:00
Joshua Ashton
2da271d515 shaders: Fix horizontal blur output colorspace 2023-04-20 23:03:17 +01:00
Joshua Ashton
2ad6b0320c shader: Get blur stuff working with HDR and color mgmt 2023-04-20 23:03:17 +01:00
Joshua Ashton
fcc7b7aea3 shaders, rendervulkan: Hook up FSR for HDR 2023-04-20 23:03:17 +01:00
Joshua Ashton
1dd05cf14b shaders: Fix scRGBEncodingToPQ
nitsToPq vs pqToNits, oops! Was passing some insane values here. :-)
2023-04-20 23:03:17 +01:00
Joshua Ashton
aaaff2cb16 shaders: Tetrahedral 3D LUT implementation 2023-04-20 23:03:17 +01:00
Joshua Ashton
0c980fbb0e color, shaders: Use color mgmt LUT path in shader compute path 2023-04-20 23:03:17 +01:00
Joshua Ashton
9b5f5f907c shaders: Make blur conditional more obvious 2023-03-18 15:12:29 +00:00
Joshua Ashton
30937177fa rendervulkan: Fix blur with HDR content 2023-03-18 15:11:45 +00:00
Lilium
57f005716b itm: avoid division by zero for BT.2446 Method A 2023-02-11 18:17:50 +00:00
Joshua Ashton
d6c1df4e52 shaders: Add force wide gammut support to itm 2023-01-20 06:21:16 +00:00
Lilium
7bd30dd6d8
add the ability to use inverse tone mapping on apps that output SDR (#751) 2023-01-17 05:37:09 +00:00
Joshua Ashton
a1bff9fc70 shaders: Fix primaries for scRGB content
Need to go from 709 -> 2020.
2023-01-04 08:40:46 +00:00
Joshua Ashton
7251fdd878 shaders: Improved heatmap code frol Lilium 2023-01-03 14:03:06 +00:00
Joshua Ashton
d1fd41fd5b rendervulkan: Apply tonemapping to HDR content on SDR outputs
Also add a debug flag for Reinhard.
2023-01-03 14:02:54 +00:00
Joshua Ashton
ba467640a8 shaders: Fix output scaling of heatmap 2022-12-31 10:53:12 +00:00
Joshua Ashton
5b805dda00 rendervulkan: Framework for configurable SDR on HDR content brightness 2022-12-31 10:39:41 +00:00
Joshua Ashton
8f0008e3a6 rendervulkan: Add Lilium's HDR heatmap 2022-12-30 03:21:55 +00:00
Joshua Ashton
31c94f8869 rendervulkan: Add HDR heatmap debug + way to force support but not PQ output 2022-12-30 03:21:55 +00:00
Joshua Ashton
c25a368193 rendervulkan: Turn composite debug into flags rather than bool 2022-12-30 03:21:55 +00:00
Joshua Ashton
418a84dfb7 steamcompmgr, rendervulkan: Add force wide gammut option 2022-12-30 03:21:55 +00:00
Joshua Ashton
a1d5c0583d shaders: Convert primaries for non-HDR10PQ formats when outputting to HDR10PQ 2022-12-30 03:21:55 +00:00
Joshua Ashton
47069426f7 rendervulkan: Handle manual sRGB->Linear for formats without SRGB views
We need these for 1010102 formats.
2022-12-30 03:21:55 +00:00
Joshua Ashton
49aeaf31b8 rendervulkan, shaders: Support PQ+scRGB colorspaces + HDR10 output 2022-12-30 03:21:55 +00:00
Joshua Ashton
d3aa886373 shaders: Add colorimetry helpers 2022-12-30 03:21:55 +00:00
Joshua Ashton
b3205caec4 rendervulkan: Fix srgb-ness + use color space matrix for rgb to NV12 pass 2022-11-22 01:02:12 +00:00
Joshua Ashton
50d385d326 rendervulkan: Introduce CaptureConvertBlitData_t
Stores the half-extent for the NV12 blit
2022-11-19 00:46:21 +00:00
Joshua Ashton
30519fd9ec rendervulkan: Add NV12 capture blit infra
Performs blit + rgb -> nv12 in one.
2022-11-19 00:39:05 +00:00
Joshua Ashton
c10eb7dcd7 rendervulkan: Eliminate blur radius spec constant 2022-11-10 04:34:11 +00:00
Eric Sullivan
2f95c0fa5d nis: Update to v1.0.3
The docs, and samples directories have been removed along with the third_party_licenses.txt file.

Source downloaded from: https://github.com/NVIDIAGameWorks/NVIDIAImageScaling/archive/refs/tags/v1.0.3.tar.gz
2022-10-22 00:11:13 +01:00
Joshua Ashton
12ef7685eb shaders: If running with composite debug, show colored borders 2022-07-14 23:13:50 +00:00
Georg Lehmann
b1c38598ee Remove useless extensions from shaders. 2022-05-26 23:11:25 +00:00
Georg Lehmann
11760e8bd8 rewrite compositing with CVulkanCmdBuffer 2022-05-26 23:11:25 +00:00
Georg Lehmann
b406bba47e Only use two descriptors for samplers 2022-05-26 23:11:25 +00:00
Eric
a515153a93 rendervulkan: Add support for NVIDIA image scaling 2022-05-18 01:41:01 +00:00