mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 14:25:46 -04:00
PostProcessing: Add ReShade .fx shader support
This commit is contained in:
@ -16,6 +16,7 @@ add_subdirectory(soundtouch)
|
||||
add_subdirectory(googletest)
|
||||
add_subdirectory(cpuinfo)
|
||||
add_subdirectory(fast_float)
|
||||
add_subdirectory(reshadefx)
|
||||
|
||||
if(ENABLE_CUBEB)
|
||||
add_subdirectory(cubeb)
|
||||
|
@ -632,9 +632,9 @@ private:
|
||||
const unsigned int texture_dimension = info.type.texture_dimension();
|
||||
code += "Texture" + std::to_string(texture_dimension) + "D<";
|
||||
write_texture_format(code, tex_info.format);
|
||||
code += "> __" + info.unique_name + "_t : register(t" + std::to_string(info.binding) + "); \n";
|
||||
code += "> __" + info.unique_name + "_t : register( t0); \n";
|
||||
|
||||
code += "SamplerState __" + info.unique_name + "_s : register(s" + std::to_string(info.binding) + ");\n";
|
||||
code += "SamplerState __" + info.unique_name + "_s : register( s0);\n";
|
||||
|
||||
code += "static const ";
|
||||
write_type(code, info.type);
|
||||
|
Reference in New Issue
Block a user