Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for signed int attribs conversion #2488

Merged
merged 2 commits into from Sep 1, 2017
Merged

Conversation

dmikis
Copy link
Contributor

@dmikis dmikis commented Aug 17, 2017

The test verifies that a WebGL 2 implementation converts singed integer
vertex attributes using zero-presering rule as it's required to the
GLES 3 spec.

See also #2486.

/cc @kenrussell @zhenyao

The test verifies that a WebGL 2 implementation converts singed integer
vertex attributes using zero-presering rule as it's required to the
GLES 3 spec.
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.

Thanks for this test and sorry for taking so long to review it. It looks OK; tested locally. I'll update #2486 in response. Could you please make a few small changes?

@@ -1,4 +1,5 @@
gl-vertex-attrib.html
gl-vertex-attrib-i-render.html
gl-vertex-attrib-normalized-int.html
Copy link
Member

Choose a reason for hiding this comment

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

Please add --min-version 2.0.1

@@ -0,0 +1,98 @@
<!--
/*
** Copyright (c) 2015 The Khronos Group Inc.
Copy link
Member

Choose a reason for hiding this comment

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

Please update to 2017

<!DOCTYPE html>
<html>
<head>
<title>WebGL 2 Normalized Vertex Attrbiutes Conformance Test</title>
Copy link
Member

Choose a reason for hiding this comment

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

Typo: Attributes

}());
</script>
<script>
description('Verify that conversion of normalized singed int attributes to floats uses zero-preserving rule.');
Copy link
Member

Choose a reason for hiding this comment

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

Typo: signed

<html>
<head>
<title>WebGL 2 Normalized Vertex Attrbiutes Conformance Test</title>
<meta charset="utf-8">
Copy link
Member

Choose a reason for hiding this comment

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

Could you also add:

<link rel="stylesheet" href="../../resources/js-test-style.css"/>

@dmikis
Copy link
Contributor Author

dmikis commented Sep 1, 2017

Fixed:)

@zhenyao
Copy link
Contributor

zhenyao commented Sep 1, 2017

LGTM

@zhenyao zhenyao merged commit 4e2be9c into KhronosGroup:master Sep 1, 2017
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.

None yet

3 participants