OSDN Git Service

glGetFragDataLocation implementation
authorAlexis Hetu <sugoi@google.com>
Wed, 16 Aug 2017 20:37:19 +0000 (16:37 -0400)
committerAlexis Hétu <sugoi@google.com>
Thu, 17 Aug 2017 16:55:17 +0000 (16:55 +0000)
commitb3f5ed7a0986d906c4f70cbf86076d9b4ec11964
tree6b5785253f19f9d51943f49df0b86f394dfa848f
parent0e22d3ac1342803e4f6e99dee0b1bc7638f0acdc
glGetFragDataLocation implementation

Implemented glGetFragDataLocation. There's very little coverage for
this function in dEQP, but the one test that uses it passes.

Change-Id: I6cfc93d7eaad54f23c922e45dafee9cba3401c83
Note: Chromium's ES3 path requires this function to be implemented.
Reviewed-on: https://swiftshader-review.googlesource.com/11728
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
src/OpenGL/libGLESv2/Program.cpp
src/OpenGL/libGLESv2/Program.h
src/OpenGL/libGLESv2/libGLESv3.cpp