SPV: SampleMask does not depend on SampleRateShading.

Fixes #1158.
Fixes #1159.
This commit is contained in:
John Kessenich 2017-11-20 16:32:49 -07:00
parent e2c15b4f6e
commit cbdf871d7f
11 changed files with 175 additions and 4 deletions

View file

@ -0,0 +1,12 @@
#version 450
layout(location = 0) in vec4 samp;
layout(location = 0) out vec4 color;
void main()
{
if (gl_SamplePosition.y < 0.5)
color = samp;
else
color = 2 * samp;
}