ESSL: Fix #1823: Conditions for when derivatives are in compute shader.

This commit is contained in:
John Kessenich
2019-07-15 01:20:18 -06:00
parent 1a6e8534ce
commit 33081e01d3
3 changed files with 91 additions and 26 deletions

View File

@@ -1,5 +1,17 @@
#version 320 es
float fX;
float fY;
void main()
{
dFdx(fX);
dFdy(fY);
fwidth(fX);
dFdxCoarse(fX);
dFdyCoarse(fY);
fwidthCoarse(fX);
dFdxFine(fX);
dFdyFine(fY);
fwidthFine(fX);
}