Commit Graph

69 Commits

Author SHA1 Message Date
Jeff Gilbert
ced2e5986f Bug 1406015 - Enable SH_INITIALIZE_UNINITIALIZED_LOCALS. - r=Lenzak
MozReview-Commit-ID: GZTk80QyVfA

--HG--
extra : rebase_source : f95550094f88ecef66c0ba681b423be0741f3486
2017-10-11 13:02:56 -07:00
Chih-Yi Leu
96abdd1366 Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
MozReview-Commit-ID: 5iK1L4ioVFK

--HG--
extra : source : 472a419a8d65f888ebc5d64ae90c59881cef4d73
2017-05-24 15:20:02 +08:00
Sebastian Hengst
b4bb2df7c7 Backed out changeset 472a419a8d65 (bug 1371190) for build bustage, at least on Windows Static. r=backout on a CLOSED TREE 2017-10-06 15:30:44 +02:00
Chih-Yi Leu
99a304878d Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
MozReview-Commit-ID: 5iK1L4ioVFK

--HG--
extra : rebase_source : 8aff17309936e70441c890f90a48b8c009e19f55
2017-05-24 15:20:02 +08:00
Chung-Sheng Fu
886fe4b600 Bug 1217290 - Refine WebGLContext members r=daoshengmu,jgilbert
MozReview-Commit-ID: BjZCM1ygZ4k

--HG--
extra : rebase_source : eec6bbad8c6e27cb2e2c270194e6f1d50e83d16a
2017-07-27 15:49:21 +08:00
Jeff Gilbert
537fa49680 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
51833534e1 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

--HG--
extra : rebase_source : b015176a20feba7a9032255323c0f2e4960a85d2
2017-06-26 08:39:30 -07:00
Jeff Gilbert
1f52f0ef2c Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ

--HG--
extra : source : d5e61d70359afa2e24c444b94739bcf35f7460b2
extra : amend_source : 567166379cabc25106debfbd3c095f474ee58b6b
2017-06-22 18:54:16 -07:00
Carsten "Tomcat" Book
dc54f8e362 Backed out changeset dfdccf4dc6a1 (Bug 1368284) to fix bustage a=me 2017-06-23 12:56:08 +02:00
Carsten "Tomcat" Book
35cd4f0c51 Bug 1365879 - Revert merge conflict resolution to fix bustage a=me
--HG--
extra : amend_source : 5b5c8fb8a5226c001eb0092c6d32624ac3f4b8df
2017-06-23 12:18:40 +02:00
Carsten "Tomcat" Book
5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Jeff Gilbert
ad01c14ec9 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
54b342c455 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

--HG--
extra : rebase_source : 673bef1c8b8ee02757bfcd71da228df03c715c26
2017-06-20 12:00:49 +08:00
Chih-Yi Leu
cfeecbff63 Bug 1355321 - Part2: Remove SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX; r=jgilbert
MozReview-Commit-ID: CXu5q99FRwb

--HG--
extra : rebase_source : 47959234a4826e05d43165713b3d5f5d1c643669
2017-04-13 17:06:29 +08:00
Jeff Gilbert
d61a07cd85 Bug 1295001 - Check interface blocks during validation. - r=kvark
MozReview-Commit-ID: 6nyTZPLmbdC
2016-12-30 21:40:20 -08:00
Jeff Gilbert
a08f6f998c 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
35a5dbc87a 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
cc14e8f012 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
471ef4a5a8 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
05332fde9d Backed out changeset 1c9f6480b0e4 (bug 1297924) 2016-09-07 16:44:28 +08:00
Morris Tseng
49fa50f67b 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
4f4b4cb007 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
66ac1e0650 Bug 1288638 - Update shader validator usage. - r=mtseng
MozReview-Commit-ID: 5bSUacggvR8
2016-07-25 20:01:09 -07:00
Jeff Gilbert
9992bedd7e Bug 1136455 - Validate built-in varyings for invariance. - r=mtseng
MozReview-Commit-ID: KxIxc9MhPp8
2016-07-18 19:58:13 -07:00
JerryShih
c801d201b6 Bug 1241042 - remove the original implementation. r=jgilbert 2016-07-18 20:19:04 +08:00
JerryShih
b44cfb7256 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
b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
JerryShih
f804058c0f Bug 1178871 - work around that Mac drivers for shader struct scopes. r=jgilbert 2016-05-24 02:41:00 +02:00
Brad Kotsopoulos
8fb57a831d Bug 1244611 - "Using named uniform buffer objects in the fragment shader fails". r=jgilbert 2016-03-23 08:18:00 +01:00
Jeff Muizelaar
c848b98d3e Bug 1251375. Update to ANGLE/2653 2016-03-15 17:28:40 -07:00
Wes Kocher
bb35aa5eb1 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
745acee9fd Bug 1251375. Update to ANGLE/2653 2016-03-15 12:02:47 -07:00
Ethan Lin
9b0ebddb01 Bug 1241042 - Get correct frag varying from angle validator. r=jmuizelaar 2016-03-14 02:48:00 -04:00
Jeff Gilbert
5ec3468fb3 Bug 1233626 - Default MaxDrawingBuffers to 1 unless ext/webgl2. - r=jrmuizel 2016-02-05 16:42:33 -08:00
Brad Kotsopoulos
71346bf41d 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
f7dbec6ee1 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
4ab1426a59 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
303885a832 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Jeff Muizelaar
ba14718938 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
6de960ff8d Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-02 10:14:43 -05:00
Andrew Comminos
544dcecc58 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
19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda
71a6f5da62 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
87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jeff Muizelaar
5c21dbd45c Bug 1218939. Fixup GetTransformFeedbackVarying. r=jgilbert 2015-11-14 10:58:27 -05:00
Jeff Muizelaar
154ffd6114 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
d9ae377b3f Bug 1218559. Implement FindUniformBlockByMappedName. r=jgilbert 2015-11-04 13:35:35 -05:00
Jeff Muizelaar
c0980e9573 Bug 1218944. Transform feedback linking should use varyings intead of attribs. r=jgilbert 2015-11-04 13:35:35 -05:00
Jeff Muizelaar
a6d47e79d5 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
228ec2a1e4 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