Skip to content

Conversation

@shrekshao
Copy link
Member

Updating test according to recent change: #3111

addressing chrome issue: http://crbug.com/1100834

Copy link
Member

@kenrussell kenrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Out of curiosity has this been tested with revised validation code in ANGLE and/or Chromium?

Let's see if @lexaknyazev and @jdashg have any comments; we can merge this tomorrow.

gl.deleteTexture(tex);
};

var testTexImageLevelDimensions = function(gl, validFormats, expectedByteLength, getBlockDimensions, imageConfigs) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good time to start changing "var" to "let", at least inside this function.

@shrekshao
Copy link
Member Author

shrekshao commented Jul 7, 2020

has this been tested with revised validation code in ANGLE and/or Chromium?

The level validation already passed on Win (using D3D angle).
Not yet on Mac (current chrome fails test). Updated validation is still compiling (once run out of disk storage). I will post updates

Copy link
Member

@kenrussell kenrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good; please post here once you've verified these test changes with the fixed validation code.

@shrekshao
Copy link
Member Author

FYI. Local test on Mac Chromium shows updated validation code passed the new test.

@kenrussell
Copy link
Member

Thanks for confirming. Merging now.

@kenrussell kenrussell merged commit 9aea204 into KhronosGroup:master Jul 8, 2020
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Jul 9, 2020
Fixing several BPTC and RGTC texture validation logic according to
recent WebGL spec and test updates:

KhronosGroup/WebGL#3105
KhronosGroup/WebGL#3111
KhronosGroup/WebGL#3112

Bug: 1100834, 1102924
Change-Id: I82938a642821308a08e6f73175553f312c1c0e8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285179
Commit-Queue: Shrek Shao <shrekshao@google.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786536}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants