-
Notifications
You must be signed in to change notification settings - Fork 953
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1717: Work Around Fastclear Bug for Web and Native GL r=cwfitzgerald,kvark a=zicklag **Connections** Resolves #1627 **Description** Works around Mesa fastclear bug by doing a manual shader clear on effected platforms **Testing** Tested on Mesa Intel(R) UHD Graphics (CML GT2) (Gl) Co-authored-by: Zicklag <zicklag@katharostech.com>
- Loading branch information
Showing
8 changed files
with
181 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#version 300 es | ||
precision lowp float; | ||
uniform vec4 color; | ||
out vec4 frag; | ||
void main() { | ||
frag = color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#version 300 es | ||
precision lowp float; | ||
// A triangle that fills the whole screen | ||
const vec2[3] TRIANGLE_POS = vec2[]( | ||
vec2( 0.0, -3.0), | ||
vec2(-3.0, 1.0), | ||
vec2( 3.0, 1.0) | ||
); | ||
void main() { | ||
gl_Position = vec4(TRIANGLE_POS[gl_VertexID], 0.0, 1.0); | ||
} |