{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/WebGL/issues/2033","repository_url":"https://api.github.com/repos/KhronosGroup/WebGL","labels_url":"https://api.github.com/repos/KhronosGroup/WebGL/issues/2033/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/WebGL/issues/2033/comments","events_url":"https://api.github.com/repos/KhronosGroup/WebGL/issues/2033/events","html_url":"https://github.com/KhronosGroup/WebGL/issues/2033","id":177695653,"number":2033,"title":"[webGL2.0] Textureprojoffset failed in AMD graphics for OpenGL rendering","user":{"login":"Elainejly","id":22285004,"avatar_url":"https://avatars.githubusercontent.com/u/22285004?v=3","gravatar_id":"","url":"https://api.github.com/users/Elainejly","html_url":"https://github.com/Elainejly","followers_url":"https://api.github.com/users/Elainejly/followers","following_url":"https://api.github.com/users/Elainejly/following{/other_user}","gists_url":"https://api.github.com/users/Elainejly/gists{/gist_id}","starred_url":"https://api.github.com/users/Elainejly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elainejly/subscriptions","organizations_url":"https://api.github.com/users/Elainejly/orgs","repos_url":"https://api.github.com/users/Elainejly/repos","events_url":"https://api.github.com/users/Elainejly/events{/privacy}","received_events_url":"https://api.github.com/users/Elainejly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-19T02:47:54Z","updated_at":"2016-09-20T21:38:26Z","closed_at":"2016-09-20T21:38:26Z","body":"OS: w10\r\nGraphics: AMD asic\r\nbrowser: firefox/chrome\r\nconfig: enable webGL2.0, enable OpenGL rendering\r\n\r\nsteps: \r\n1) run chrome with \"--enable-unsafe-es3-apis --enable-experimental-canvas-features\"\r\n1) visit \"https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html?version=2.0.0\"\r\n2) find test \"all/deqp/functional/gles3/shadertexturefunction/textureprojoffset\" and run\r\n\r\nexpected: test pass\r\nactually: failed: texture_function.textureprojoffset.sample2dshadow_vertex: Fail\r\n          there are two pixels less in the first column in the \"Result\" frame dump compared with \"Reference\"\r\n\r\nRoot cause: \r\n    the number of 23, 24, 25, 26, 28 points in the draw, are trying to sample the texture with coordinate (u=0, v=xxx), which value is not defined for filter GL_REPEAT. you need to add an offset 0.5/256 (256 is texture width) to u if you want to get the exact value.   \r\n    file: WebGL-master\\sdk\\tests\\deqp\\functional\\gles3\\es3fShaderTextureFunctionTests.js line: 2384\r\n     es3fShaderTextureFunctionTests.getCaseSpec('sampler2dshadow', es3fShaderTextureFunctionTests.TexFunction.TEXTUREPROJ, [0.2, 0.6, 0.0, 1.5], [-2.25, -3.45, 1.5, 1.5],    false,    0.0,    0.0,    true, [-8, 7, 0],    tex2DShadow, es3fShaderTextureFunctionTests.evalTexture2DShadowProjOffset, es3fShaderTextureFunctionTests.CaseFlags.VERTEX),\r\n               \r\nSuggestion solution: \r\n    Change the offset to avoid sampling with u=0. [-8, 7, 0] -> [7,-8,0]\r\n\r\nAttach file include the first 36 attributes of webgl_b735f978b01bb186 in the test draw.\r\n[vertex and texture.xlsx](https://github.com/KhronosGroup/WebGL/files/479174/vertex.and.texture.xlsx)\r\n"},"comment":{"url":"https://api.github.com/repos/KhronosGroup/WebGL/issues/comments/248442644","html_url":"https://github.com/KhronosGroup/WebGL/issues/2033#issuecomment-248442644","issue_url":"https://api.github.com/repos/KhronosGroup/WebGL/issues/2033","id":248442644,"user":{"login":"kenrussell","id":1149904,"avatar_url":"https://avatars.githubusercontent.com/u/1149904?v=3","gravatar_id":"","url":"https://api.github.com/users/kenrussell","html_url":"https://github.com/kenrussell","followers_url":"https://api.github.com/users/kenrussell/followers","following_url":"https://api.github.com/users/kenrussell/following{/other_user}","gists_url":"https://api.github.com/users/kenrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/kenrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenrussell/subscriptions","organizations_url":"https://api.github.com/users/kenrussell/orgs","repos_url":"https://api.github.com/users/kenrussell/repos","events_url":"https://api.github.com/users/kenrussell/events{/privacy}","received_events_url":"https://api.github.com/users/kenrussell/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T21:38:26Z","updated_at":"2016-09-20T21:38:26Z","body":"This issue is resolved. Closing.\r\n"}}
{"actor":{"display_login":"kenrussell"}}