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

Issue 1749183003: Command buffer: generate correct GL error for invalid level for compressed texture (Closed)

Created:
4 years, 9 months ago by yunchao
Modified:
4 years, 9 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Command buffer: generate correct GL error for invalid level for compressed texture This change can fix some bugs in negativetextureapi.html in WebGL deqp. BUG=565347 TEST=deqp/functional/gles3/negativetextureapi.html CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/9ad4a35e2a01d16e8b58a86e417e796ecc81edd1 Cr-Commit-Position: refs/heads/master@{#379697}

Patch Set 1 #

Patch Set 2 : addressed zmo@'s feedback #

Total comments: 2

Patch Set 3 : addressed zmo@'s feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
yunchao
It should generate INVALID_VALUE, instead of INVALID_OPERAION. See the statements for 'level' argument for texSubImage{2D|3D}, ...
4 years, 9 months ago (2016-03-02 12:27:04 UTC) #5
Zhenyao Mo
On 2016/03/02 12:27:04, yunchao wrote: > It should generate INVALID_VALUE, instead of INVALID_OPERAION. See the ...
4 years, 9 months ago (2016-03-02 17:42:08 UTC) #7
yunchao
On 2016/03/02 17:42:08, Zhenyao Mo wrote: > On 2016/03/02 12:27:04, yunchao wrote: > > It ...
4 years, 9 months ago (2016-03-04 15:22:11 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/1749183003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1749183003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode11337 gpu/command_buffer/service/gles2_cmd_decoder.cc:11337: if (!texture_manager()->ValidForTarget(target, level, width, height, 1)) { This needs ...
4 years, 9 months ago (2016-03-04 17:39:58 UTC) #9
yunchao
Thanks for your review, Zhenyao. Code has been updated accordingly. PTAL. https://codereview.chromium.org/1749183003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): ...
4 years, 9 months ago (2016-03-07 02:58:19 UTC) #10
yunchao
On 2016/03/07 02:58:19, yunchao wrote: > Thanks for your review, Zhenyao. Code has been updated ...
4 years, 9 months ago (2016-03-07 03:15:29 UTC) #11
Zhenyao Mo
You are correct. lgtm
4 years, 9 months ago (2016-03-07 17:50:18 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749183003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749183003/40001
4 years, 9 months ago (2016-03-08 00:09:05 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 00:55:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749183003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749183003/40001
4 years, 9 months ago (2016-03-08 01:36:36 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-08 01:43:29 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 01:44:43 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9ad4a35e2a01d16e8b58a86e417e796ecc81edd1
Cr-Commit-Position: refs/heads/master@{#379697}

Powered by Google App Engine
This is Rietveld 408576698