Commit Graph
65 Commits
Author SHA1 Message Date
Chung-Sheng Fu e796461bb4 Bug 1217290 - Refine WebGLContext members r=daoshengmu,jgilbert
MozReview-Commit-ID: BjZCM1ygZ4k
2017-07-27 15:49:21 +08:00
Jeff Gilbert 3600df4442 Bug 1382358 - Allow unusual/spurious glsl versions in non-DEBUG builds. - r=kvark
MozReview-Commit-ID: GbJb9ankCGl
2017-07-19 18:04:03 -07:00
Daosheng Mu 99ea3e21ff Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
MozReview-Commit-ID: JMHuZirH4L5
2017-06-26 08:39:30 -07:00
Jeff Gilbert d8f15529e2 Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ
2017-06-22 18:54:16 -07:00
Carsten "Tomcat" Book 35772110e5 Backed out changeset dfdccf4dc6a1 (Bug 1368284) to fix bustage a=me 2017-06-23 12:56:08 +02:00
Carsten "Tomcat" Book 47cfa4f435 Bug 1365879 - Revert merge conflict resolution to fix bustage a=me 2017-06-23 12:18:40 +02:00
Carsten "Tomcat" Book c7b7699387 merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Jeff Gilbert f920dd860c Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. - r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ
2017-06-22 20:03:11 -07:00
Daosheng Mu ded2800b6c Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
MozReview-Commit-ID: HmSUgaBIC4g
2017-06-20 12:00:49 +08:00
Chih-Yi Leu 0059f058ce Bug 1355321 - Part2: Remove SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX; r=jgilbert
MozReview-Commit-ID: CXu5q99FRwb
2017-04-13 17:06:29 +08:00
Jeff Gilbert 570cb07e7f Bug 1295001 - Check interface blocks during validation. - r=kvark
MozReview-Commit-ID: 6nyTZPLmbdC
2016-12-30 21:40:20 -08:00
Jeff Gilbert b6de0092f4 Bug 1325699 (flattened) - Fix uniform block handling. - r=daoshengmu
Flattened with:
* Handle -1 attrib locations. - r=daoshengmu
2016-12-29 02:47:08 -08:00
Jeff Gilbert 5a7ab798f2 Bug 1325238 - Use ShCompileOptions type instead of int. - r=daoshengmu
Also only use SH_LIMIT_CALL_STACK_DEPTH if we have resources.MaxCallStackDepth.

MozReview-Commit-ID: DXhw7A7gCjF
2016-12-25 13:44:29 -08:00
Ethan Lin 2cd51c2561 Bug 1303443 - Update ANGLE to chromium/2862. r=jgilbert
* * *
Bug 1303443 - Change option parameters for angle update.
2016-10-25 19:29:00 -04:00
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] ([email protected]) 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] ([email protected]) for polishing patches.
2015-10-05 10:50:16 +08:00