Chao Chen | 5b2203d | 2018-09-19 11:43:21 -0700 | [diff] [blame^] | 1 | #version 450 |
2 | |||||
3 | #extension GL_NV_shading_rate_image : require | ||||
4 | |||||
5 | layout (location = 0) out vec2 FragmentSize; | ||||
6 | layout (location = 2) out int InvocationsPerPixel; | ||||
7 | |||||
8 | void main () { | ||||
9 | FragmentSize = gl_FragmentSizeNV; | ||||
10 | InvocationsPerPixel = gl_InvocationsPerPixelNV; | ||||
11 | } |