bgfx/examples/46-fsr/varying.def.sc
Richard Schubert fc513e163b
Add new Example - AMD FidelityFX-FSR (#2612)
* 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
2021-10-05 09:01:50 -07:00

10 lines
256 B
Python

vec4 a_position : POSITION;
vec2 a_texcoord0 : TEXCOORD0;
vec3 a_normal : NORMAL;
vec2 v_texcoord0 : TEXCOORD0;
vec4 v_texcoord1 : TEXCOORD1;
vec4 v_texcoord2 : TEXCOORD2;
vec4 v_texcoord3 : TEXCOORD3;
vec3 v_normal : NORMAL = vec3(0.0, 0.0, 1.0);