mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
some hints what needs to be done before that damn thing works like intended #1
This commit is contained in:
@@ -6,6 +6,8 @@ project(MaShaderCompiler)
|
||||
|
||||
file(GLOB_RECURSE src "src/*.cpp" "src/*.hpp")
|
||||
|
||||
# Confirmed to work with DXC distributed via VCPKG. Your mileage may vary
|
||||
# TODO Make sure that it works as well for people who do not use VCPKG
|
||||
find_package(directx-dxc CONFIG REQUIRED)
|
||||
|
||||
add_executable(MaShaderCompiler ${src})
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
templates:
|
||||
# Partially pre-filled containers to avoid excessive copypasta
|
||||
XeGTAO:
|
||||
# TODO Depth conversion is broken since converting to reversed depth buffer
|
||||
# after attempting to fix it, it is still broken but with hardcoded values
|
||||
source: XeGTAO/GTAO
|
||||
target: compute
|
||||
definitions: # TODO (mostly) move to shader file I guess
|
||||
@@ -152,6 +154,7 @@ shaders:
|
||||
target: pixel
|
||||
entrypoint: main
|
||||
# Contact shadows
|
||||
# TODO Depth conversion is broken since converting to reversed depth buffer
|
||||
contact_shadows:
|
||||
source: contact_shadows
|
||||
target: compute
|
||||
|
||||
Reference in New Issue
Block a user