SPV: SampleMask does not depend on SampleRateShading.
Fixes #1158. Fixes #1159.
This commit is contained in:
12
Test/spv.sampleId.frag
Normal file
12
Test/spv.sampleId.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_SampleID < 3)
|
||||
color = samp;
|
||||
else
|
||||
color = 2 * samp;
|
||||
}
|
||||
Reference in New Issue
Block a user