fc513e163b
* Add new sample * Add FSR shaders * Add example template * Add Antialiasing * Add multi resolution rendering * Implement magnifier * Implement FSR EASU pass * Implement FSR RCAS pass * Improve wording of comments and UI * Remove use of ffx_a.h in cpp * Remove example external files * Perform bilinear upsampling by compute shader * Add FSR 16 Bit support * Improve magnifier picking * Fix magnifier picking * Render magnifier widget * Renaming of stuff * Separate magnifier functionality * Move FSR into separate class * Reduce scope of FSR resources * Fix FSR for Vulkan * Fix OpenGL support * Update sample screenshot
11 lines
192 B
Scala
11 lines
192 B
Scala
$input a_position, a_texcoord0
|
|
$output v_texcoord0
|
|
|
|
#include "../common/common.sh"
|
|
|
|
void main()
|
|
{
|
|
gl_Position = mul(u_modelViewProj, vec4(a_position.xyz, 1.0));
|
|
v_texcoord0 = a_texcoord0;
|
|
}
|