projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: replace CC with APP_CC in progs/glsl/Makefile
[mesa.git]
/
progs
/
glsl
/
noise.c
diff --git
a/progs/glsl/noise.c
b/progs/glsl/noise.c
index 9da71ac775eaa140da9818ab559c2dfa57b3fae5..bd8f50036bfe6d7a96e0e20cdf568fb16e20f498 100644
(file)
--- a/
progs/glsl/noise.c
+++ b/
progs/glsl/noise.c
@@
-30,6
+30,7
@@
static const char *FragShaderText =
" vec4 p;\n"
" p.xy = gl_TexCoord[0].xy;\n"
" p.z = Slice;\n"
+ " p.w = 0;\n"
" vec4 n = noise4(p * scale);\n"
" gl_FragColor = n * Scale + Bias;\n"
"}\n";