diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2020-05-19 14:42:19 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-09 11:59:09 +0000 |
commit | 49d35f3d882bd0f4418a1ce056344b8f06bd75dd (patch) | |
tree | bf1fd373a542b147349eae0904c38bbd7c3e46ca /docs/meson.rst | |
parent | 26b75daef57c0ab7bde8dabf2a169bd755df51c3 (diff) |
glsl: declare gl_Layer/gl_ViewportIndex/gl_ViewportMask as vs builtins
Otherwise a VS doing the following:
out gl_PerVertex {
vec4 gl_Position;
int gl_ViewportIndex;
};
cannot be compiled because of the following error:
"redeclaration of gl_PerVertex must be a subset of the built-in
members of gl_PerVertex"
v2: add GLSL_PRECISION_HIGH param to add_varying() for "gl_Layer" in
generate_fs_special_vars.
v3: add GLSL_PRECISION_HIGH param to add_varying() for "gl_Layer" in
generate_varyings.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2946
Tested-by: John Galt <[email protected]>
Reviewed-by: Marek Olšák <[email protected]> (v3)
Reviewed-by: Ian Romanick <[email protected]> (v3)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5167>
Diffstat (limited to 'docs/meson.rst')
0 files changed, 0 insertions, 0 deletions