mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
Ensure p.w is initialised in noise demo.
This commit is contained in:
parent
8b69c42b35
commit
0df3dfab82
1 changed files with 1 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue