Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

webgl: fix issues on Android devices #149

Merged
merged 16 commits into from
May 31, 2019
Merged

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented May 11, 2019

This PR contains changes to a lot of files. Major changes are list as below:

  • refactor webgl backend
  • support GLSL ES 3.0
  • enable check for GL_BLEND
  • update test cases, test whitelist, test runner and debug output

This change should fix issue #116, #127, #145

This was referenced May 15, 2019
if (!this.glContext.floatDownloadEnabled) {
this.forceUint8Reads = true;
if (typeof this.matmulMaxBatchSize !== 'number') {
this.matmulMaxBatchSize = 16;
Copy link
Member

Choose a reason for hiding this comment

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

is this because this was the default value previously ? I mean there is no data to choose this value right ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is because it's the previous default value.

Copy link
Member

@hariharans29 hariharans29 left a comment

Choose a reason for hiding this comment

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

I looked at the core WebGL framework logic mostly. Nothing sinister stood out. So LGTM.

I skimmed through the related operator shader changes (if there were mistakes here, they would have
been caught be tests).

Thanks for the fixes.

@fs-eire fs-eire merged commit a69d38e into microsoft:master May 31, 2019
@fs-eire fs-eire deleted the android branch May 31, 2019 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants