Commit Graph

51 Commits

Author SHA1 Message Date
Morris Tseng
cdc0462341 Bug 1297924 - Update shader validator due to interface change. r=jgilbert
MozReview-Commit-ID: 7d8bX6ZFOcL
2016-09-08 16:28:30 +08:00
Iris Hsiao
092ca880be Backed out changeset 1c9f6480b0e4 (bug 1297924) 2016-09-07 16:44:28 +08:00
Morris Tseng
f90dc650a0 Bug 1297924 - Update shader validator due to interface change. r=jgilbert
MozReview-Commit-ID: 7d8bX6ZFOcL
2016-09-07 14:09:08 +08:00
Jeff Gilbert
bbaeddfc54 Bug 1288638 - Unconditionally SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX. - r=mtseng
MozReview-Commit-ID: CPgJTTV8vAA
2016-07-25 20:01:09 -07:00
Jeff Gilbert
31b2c5c8cb Bug 1288638 - Update shader validator usage. - r=mtseng
MozReview-Commit-ID: 5bSUacggvR8
2016-07-25 20:01:09 -07:00
Jeff Gilbert
7944713df0 Bug 1136455 - Validate built-in varyings for invariance. - r=mtseng
MozReview-Commit-ID: KxIxc9MhPp8
2016-07-18 19:58:13 -07:00
JerryShih
55da685370 Bug 1241042 - remove the original implementation. r=jgilbert 2016-07-18 20:19:04 +08:00
JerryShih
9f084e9521 Bug 1241042 - save frag translated varying names into LinkedProgramInfo. r=jgilbert
Save the frag name info to the LinkedProgramInfo object. Then the fragment shader can be freely detached at any time.
2016-07-18 20:19:04 +08:00
eyim
e2c2b0b56c Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD
2016-06-06 11:17:23 -04:00
JerryShih
438c188bd7 Bug 1178871 - work around that Mac drivers for shader struct scopes. r=jgilbert 2016-05-24 02:41:00 +02:00
Brad Kotsopoulos
85e0400a4a Bug 1244611 - "Using named uniform buffer objects in the fragment shader fails". r=jgilbert 2016-03-23 08:18:00 +01:00
Jeff Muizelaar
e84b9e62ee Bug 1251375. Update to ANGLE/2653 2016-03-15 17:28:40 -07:00
Wes Kocher
d5e1a7ce3a Backed out changeset 857617eac45b (bug 1251375) for breaking test_EXT_disjoint_timer_query.html on Windows mochitest-gl tests
MozReview-Commit-ID: 5pcNBxk4JO5
2016-03-15 17:14:13 -07:00
Jeff Muizelaar
e144db2e80 Bug 1251375. Update to ANGLE/2653 2016-03-15 12:02:47 -07:00
Ethan Lin
0a65e2118e Bug 1241042 - Get correct frag varying from angle validator. r=jmuizelaar 2016-03-14 02:48:00 -04:00
Jeff Gilbert
3816c300e5 Bug 1233626 - Default MaxDrawingBuffers to 1 unless ext/webgl2. - r=jrmuizel 2016-02-05 16:42:33 -08:00
Brad Kotsopoulos
6642ecae48 Bug 1242330 - "Four extensions were promoted to core in WebGL 2 and should no longer be available as extensions." r=jgilbert r=jmuizelaar 2016-01-24 22:21:00 +01:00
Jeff Muizelaar
bee7be08b5 Bug 1232462. Only ask for a higher version of GLSL when using WebGL2. r=jgilbert
This fixes the situation for now. I'm going to try to work out what should
actually be happening here with ANGLE.

See also: https://bugs.chromium.org/p/angleproject/issues/detail?id=1256
2015-12-16 22:10:53 -05:00
Jeff Muizelaar
96b03f686b Bug 1231657. Don't allow linking different versions shaders. r=jgilbert
This fixes glsl3/shader-linking.html
2015-12-16 16:16:00 -05:00
Jeff Muizelaar
427f07c23d Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Jeff Muizelaar
757e1d7999 Revert "Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert"
This reverts commit cb6196bdba35
CLOSED TREE
2015-12-02 12:43:00 -05:00
Jeff Muizelaar
cf32eac25b Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-02 10:14:43 -05:00
Andrew Comminos
c8b246831c Bug 1203135 - Terminate linking if maximum vertex attribute count is exceeded on Mesa. r=jgilbert 2015-11-24 21:27:29 -08:00
Jeff Gilbert
d658f53faf Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda
80310b6e5c Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert
8e72348cfc Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jeff Muizelaar
b71b1db990 Bug 1218939. Fixup GetTransformFeedbackVarying. r=jgilbert 2015-11-14 10:58:27 -05:00
Jeff Muizelaar
eb4b6968d1 Bug 1215296. Map uniforms from blocks. r=jgilbert
Uniforms from uniform blocks don't show up in the result of ShGetUniforms.
We need to use ShGetInterfaceBlocks instead.
2015-11-14 10:57:54 -05:00
Jeff Muizelaar
2ac1f390eb Bug 1218559. Implement FindUniformBlockByMappedName. r=jgilbert 2015-11-04 13:35:35 -05:00
Jeff Muizelaar
7fcadae0d5 Bug 1218944. Transform feedback linking should use varyings intead of attribs. r=jgilbert 2015-11-04 13:35:35 -05:00
Jeff Muizelaar
903c7537ed Bug 1207288. Enable the ANGLE shader validator for WebGL 2. r=jgilbert
ANGLE's shader parser has much better support for ES3 now. Let's
no longer disable it by default.
2015-10-13 14:40:26 -04:00
Phil Ringnalda
64687050e3 Back out changeset d34a1af95066 (bug 1207288) for Windows mochitest-gl not being that into being validated
CLOSED TREE
2015-10-13 20:00:38 -07:00
Jeff Muizelaar
8f18fdc027 Bug 1207288. Enable the ANGLE shader validator for WebGL 2. r=jgilbert
ANGLE's shader parser has much better support for ES3 now. Let's
no longer disable it by default.
2015-10-13 14:40:26 -04:00
Morris Tseng
7a41b6b29e Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.
2015-10-12 11:21:03 +08:00
Wes Kocher
bbd458236d Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Morris Tseng
3d989074c9 Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.
2015-10-05 10:50:16 +08:00
Wes Kocher
20f2b1dd4d Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Morris Tseng
af4e4ca4d9 Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical 2015-09-29 11:51:24 +01:00
Kyle
a8328a54dd Bug 1190777 - Add null checks to prevent bad dereferences. r=kamidphish 2015-08-11 10:17:16 -04:00
Jeff Gilbert
0ca62b1e83 Bug 1150762 - Add pref for activating all ANGLE options. - r=kamidphish 2015-04-02 17:52:54 -07:00
Jeff Gilbert
e3253c2e04 Bug 1128044 - nsTArray::AppendElement doesn't accept init lists. - r=bustage 2015-03-11 21:21:03 -07:00
Jeff Gilbert
1b88784248 Bug 1128044 - Use nsTArray since android doesn't support std::vector::data(). - r=bustage 2015-03-11 21:02:39 -07:00
Jeff Gilbert
c535cb100c Bug 1128044 - Only pack varyings that have static use in both shaders. - r=warnings-as-errors 2015-03-11 20:31:46 -07:00
Jeff Gilbert
5d428141c7 Bug 1128044 - Enforce packing restrictions for varyings. - r=kamidphish 2015-03-11 20:12:43 -07:00
Jeff Gilbert
145979f76b Bug 1141875 - Add flag to init gl_Position. - r=kamidphish 2015-03-11 19:52:11 -07:00
Jeff Muizelaar
4c2c51db18 Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert 2015-02-05 14:39:18 -05:00
Jeff Gilbert
ff27d5e387 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Carsten "Tomcat" Book
2e0fe7d467 Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE 2015-01-13 09:07:26 +01:00
Jeff Gilbert
ec409b7f23 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-12 19:51:20 -08:00
Wes Kocher
af03b0b770 Backout ca411b1cf001 (bug 1109945) for shader editor failures 2015-01-09 21:03:54 -08:00