DescriptionUse NV_draw_buffers to implement EXT_draw_buffers
NV_draw_buffers can be used in combination with GLES3.0 to emulate
EXT_draw_buffers. When GLES3.0 and NV_draw_buffers are present, but
native EXT_draw_buffers is not, the extension directive in shaders is
changed in ANGLE to make ESSL 1.00 shaders able to refer to
glFragData[n>0], and DrawBuffersEXT calls are directed to GLES3.0 core
DrawBuffers.
This enables the WEBGL_draw_buffers extension on Tegra K1. Performance
benefits are in the 5-25% range in demos that are able to render both
with and without the WebGL extension.
BUG=421882
TEST=WebGL conformance tests, gpu_unittests
Committed: https://crrev.com/0decd4403598013cb4313b120ad09b3674d7c4c7
Cr-Commit-Position: refs/heads/master@{#299272}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added explanation of nv_draw_buffers flag to feature_info.cc #
Messages
Total messages: 11 (2 generated)
|