OSDN Git Service

Fixed R8 and RG8 frambuffers for GLES2
authorAlexis Hetu <sugoi@google.com>
Wed, 7 Jun 2017 20:50:12 +0000 (16:50 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 7 Jun 2017 21:29:21 +0000 (21:29 +0000)
commit7c0d347128e9269eb9ff4d7debaeb441d877b221
tree083fc89557d995f6cec6c4210333f2e1ae90133e
parent8cb9c9a1578906169204b0dc762f93bb81a98cf3
Fixed R8 and RG8 frambuffers for GLES2

These were already available for GLES3 and exposed as texturable
formats for GLES2 when the GL_EXT_texture_rg extension was exposed,
but it should also have enabled these formats as renderable formats.

Bug swiftshader:60

Change-Id: I598d7645b04737dae19dc88b4229fa3d7d231714
Reviewed-on: https://swiftshader-review.googlesource.com/9990
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
src/OpenGL/libGLESv2/utilities.cpp