SPV: SampleMask does not depend on SampleRateShading.
Fixes #1158. Fixes #1159.
This commit is contained in:
parent
e2c15b4f6e
commit
cbdf871d7f
11 changed files with 175 additions and 4 deletions
12
Test/spv.samplePosition.frag
Normal file
12
Test/spv.samplePosition.frag
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue