GLSL: Fix tessellation control shader bounding box support. (#1730)
authorLaurie <lrhedge@gmail.com>
Tue, 19 Mar 2019 01:49:27 +0000 (01:49 +0000)
committerJohn Kessenich <johnkslang@users.noreply.github.com>
Tue, 19 Mar 2019 01:49:27 +0000 (08:49 +0700)
commite442a03897303bec92ef0f1d8863654122f0e001
treef36a43deff845085e33e82264fb1202749f45429
parentbd0f5ad27884c061591ede8f28d04970261321d7
GLSL: Fix tessellation control shader bounding box support. (#1730)

Prior to this change, OES_primitive_bounding_box and EXT_primitive_bounding_box were both recognised as extensions, but only the name gl_BoundingBoxOES could be used. However the EXT version uses the name gl_BoundingBoxEXT instead. In addition, since GLES 3.2, the extension has been included in the core standard and the name gl_BoundingBox may be used instead. This change aims to make both extensions and the 3.2 core version all work.
Test/310.tesc
Test/320.tesc
Test/baseResults/310.tesc.out
Test/baseResults/320.tesc.out
glslang/MachineIndependent/Initialize.cpp