Descriptioncommand_buffer: Make inactive bound uniforms reserve the location
Specifying uniform values with locations bound with
CHROMIUM_bind_uniform_location should work, regardless whether
the underlying driver optimized the variable away or not.
Fixes the case where updating an inactive uniform would cause
INVALID_OPERATION, because the location was empty.
Fixes the case where updating an uniform would cause wrong
uniform to be updated, if the uniform was inactive and bound
to a location that would be assigned to an unbound uniform.
Makes the Program::uniform_infos_ array linear (non-sparse). The
location bindings are now handled with Program::uniform_locations_
sparse array.
Simplifies the correction of driver-supplied uniform names and
determining whether an uniform is an array or not.
Fixes a cc bug exposed by the implementation (cc_unittests):
VideoGLRendererPixelTest.YUVAEdgeBleed
VideoGLRendererPixelTest.SimpleYUVARect
BUG=542355
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/8fbcba14c3ad7a6e27293dce819450e5aa44e4aa
Cr-Commit-Position: refs/heads/master@{#361076}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 6
Patch Set 4 : address review comments #Patch Set 5 : fix uninitialized var warning that should not happen #Patch Set 6 : fix msvc #Patch Set 7 : fix a cc bug exposed by the implementation #
Total comments: 1
Messages
Total messages: 35 (17 generated)
|