Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
5eb38ec2
Commit
5eb38ec2
authored
Jun 30, 2013
by
Maciej Sumiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made shaders compatible with Intel GPUs.
parent
bc8ea550
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
shader.frag
common/gal/opengl/shader.frag
+1
-2
shader.vert
common/gal/opengl/shader.vert
+2
-2
No files found.
common/gal/opengl/shader.frag
View file @
5eb38ec2
...
...
@@ -25,14 +25,13 @@
*/
#version 120
//#pragma debug(on)
// Shader types
const
float
SHADER_LINE
=
1
.
0
;
const
float
SHADER_FILLED_CIRCLE
=
2
.
0
;
const
float
SHADER_STROKED_CIRCLE
=
3
.
0
;
varying
in
vec4
shaderParams
;
varying
vec4
shaderParams
;
void
filledCircle
(
vec2
aCoord
)
{
...
...
common/gal/opengl/shader.vert
View file @
5eb38ec2
...
...
@@ -32,7 +32,7 @@ const float SHADER_FILLED_CIRCLE = 2.0;
const
float
SHADER_STROKED_CIRCLE
=
3
.
0
;
attribute
vec4
attrShaderParams
;
varying
out
vec4
shaderParams
;
varying
vec4
shaderParams
;
void
main
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment