ESSL: Fix #1823: Conditions for when derivatives are in compute shader.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user