Turn on the gpu_shader5 of the AEP .tesc test.
This commit is contained in:
parent
156af43c25
commit
f5b2c06b32
3 changed files with 54 additions and 14 deletions
|
|
@ -115,18 +115,18 @@ void pointSize2()
|
|||
gl_out[1].gl_PointSize = ps;
|
||||
}
|
||||
|
||||
// for testing with gpu_shader5
|
||||
//precise vec3 pv3;
|
||||
//
|
||||
//void foop()
|
||||
//{
|
||||
// precise double d;
|
||||
//
|
||||
// pv3 *= pv3;
|
||||
// pv3 = fma(pv3, pv3, pv3);
|
||||
// d = fma(d, d, d);
|
||||
//}
|
||||
//
|
||||
#extension GL_OES_gpu_shader5 : enable
|
||||
|
||||
precise vec3 pv3;
|
||||
|
||||
void goodfoop()
|
||||
{
|
||||
precise float d;
|
||||
|
||||
pv3 *= pv3;
|
||||
pv3 = fma(pv3, pv3, pv3);
|
||||
d = fma(d, d, d);
|
||||
}
|
||||
|
||||
void bbBad()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue