Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Issue 1415763009: command_buffer: Make inactive bound fragment inputs reserve the location (Closed)

Created:
5 years, 1 month ago by Kimmo Kinnunen
Modified:
5 years ago
Reviewers:
zmo, Zhenyao Mo
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@binduniformlocation-reserve-location
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

command_buffer: Make inactive bound fragment inputs reserve the location Specifying fragment input values with locations bound with CHROMIUM_path_rendering should work, regardless whether the underlying driver optimized the variable away or not. Fixes the case where updating an inactive fragment input would cause INVALID_OPERATION, because the location was empty. Fixes the case where updating an fragment input would cause wrong fragment input to be updated, if the fragment input was inactive and bound to a location that would be assigned to an unbound fragment input. Makes the Program::fragment_input_infos_ array linear (non-sparse). The location bindings are now handled with Program::fragment_input_locations_ sparse array. BUG=542355 Committed: https://crrev.com/32956ea104eb269f7dd4c7a00d05d9663f538fa8 Cr-Commit-Position: refs/heads/master@{#361266}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -36 lines) Patch
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_path_rendering.txt View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 1 4 chunks +22 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 8 chunks +45 lines, -18 lines 0 comments Download
M gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc View 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Kimmo Kinnunen
5 years, 1 month ago (2015-11-06 13:04:08 UTC) #2
zmo
https://codereview.chromium.org/1415763009/diff/1/gpu/command_buffer/service/program_manager.cc File gpu/command_buffer/service/program_manager.cc (right): https://codereview.chromium.org/1415763009/diff/1/gpu/command_buffer/service/program_manager.cc#newcode781 gpu/command_buffer/service/program_manager.cc:781: DCHECK(!fragment_input_locations_[client_location].IsActive()); Add a comment that we already did the ...
5 years, 1 month ago (2015-11-20 00:24:50 UTC) #3
Zhenyao Mo
LGTM if you have a good answer for my question above.
5 years, 1 month ago (2015-11-20 00:25:50 UTC) #4
Kimmo Kinnunen
Thanks. https://codereview.chromium.org/1415763009/diff/1/gpu/command_buffer/service/program_manager.cc File gpu/command_buffer/service/program_manager.cc (right): https://codereview.chromium.org/1415763009/diff/1/gpu/command_buffer/service/program_manager.cc#newcode781 gpu/command_buffer/service/program_manager.cc:781: DCHECK(!fragment_input_locations_[client_location].IsActive()); On 2015/11/20 00:24:50, zmo wrote: > Add ...
5 years, 1 month ago (2015-11-20 08:19:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415763009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415763009/20001
5 years ago (2015-11-23 12:05:56 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/144696)
5 years ago (2015-11-23 12:59:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415763009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415763009/20001
5 years ago (2015-11-24 06:24:09 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-24 07:06:43 UTC) #13
commit-bot: I haz the power
5 years ago (2015-11-24 07:07:23 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/32956ea104eb269f7dd4c7a00d05d9663f538fa8
Cr-Commit-Position: refs/heads/master@{#361266}

Powered by Google App Engine
This is Rietveld 408576698