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

Issue 469673003: Consistently generate INVALID_VALUE on NaN line width (Closed)

Created:
6 years, 4 months ago by oetuaho-nv
Modified:
6 years, 4 months ago
Reviewers:
Zhenyao Mo, bajones, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Project:
chromium
Visibility:
Public.

Description

Consistently generate INVALID_VALUE on NaN line width GL drivers are allowed to generate errors when NaN is supplied to functions under GLES 3.0 section 2.1.1 or OpenGL 4.5 section 2.3.4.1. NVIDIA OpenGL driver generates an error when NaN is supplied to glLineWidth. Make this behavior consistent for Chromium, which removes the possibility of drawing with an undefined line width, and makes sure that errors don't leak from the GL driver. BUG=402847 TEST=WebGL conformance tests on debug build with virtual contexts, gpu_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289594

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -10 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 3 chunks +42 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
oetuaho-nv
Issue that https://codereview.chromium.org/458333003/ was supposed to fix was not a driver bug after all. Please ...
6 years, 4 months ago (2014-08-13 10:46:44 UTC) #1
Zhenyao Mo
On 2014/08/13 10:46:44, oetuaho-nv wrote: > Issue that https://codereview.chromium.org/458333003/ was supposed to fix was > ...
6 years, 4 months ago (2014-08-13 19:47:59 UTC) #2
oetuaho-nv
The CQ bit was checked by oetuaho@nvidia.com
6 years, 4 months ago (2014-08-14 08:29:19 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oetuaho@nvidia.com/469673003/1
6 years, 4 months ago (2014-08-14 08:32:43 UTC) #4
oetuaho-nv
On 2014/08/13 19:47:59, Zhenyao Mo wrote: > On 2014/08/13 10:46:44, oetuaho-nv wrote: > > Issue ...
6 years, 4 months ago (2014-08-14 08:38:05 UTC) #5
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 15:21:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (1) as 289594

Powered by Google App Engine
This is Rietveld 408576698