mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-26 19:54:33 +08:00
glsl: Fixes ident issue in glsl_parser.yy and update editorconfig for it
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19875>
This commit is contained in:
parent
9f5ace9857
commit
c5a4520b3c
@ -8,7 +8,7 @@ charset = utf-8
|
|||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
tab_width = 8
|
tab_width = 8
|
||||||
|
|
||||||
[*.{c,h,cpp,hpp,cc,hh,y}]
|
[*.{c,h,cpp,hpp,cc,hh,y,yy}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 3
|
indent_size = 3
|
||||||
max_line_length = 78
|
max_line_length = 78
|
||||||
|
@ -1438,10 +1438,10 @@ layout_qualifier_id:
|
|||||||
"valid in fragment shaders");
|
"valid in fragment shaders");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state->INTEL_conservative_rasterization_enable) {
|
if (state->INTEL_conservative_rasterization_enable) {
|
||||||
$$.flags.q.inner_coverage = 1;
|
$$.flags.q.inner_coverage = 1;
|
||||||
} else {
|
} else {
|
||||||
_mesa_glsl_error(& @1, state,
|
_mesa_glsl_error(& @1, state,
|
||||||
"inner_coverage layout qualifier present, "
|
"inner_coverage layout qualifier present, "
|
||||||
"but the INTEL_conservative_rasterization extension "
|
"but the INTEL_conservative_rasterization extension "
|
||||||
"is not enabled.");
|
"is not enabled.");
|
||||||
@ -1456,7 +1456,7 @@ layout_qualifier_id:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (state->ARB_post_depth_coverage_enable ||
|
if (state->ARB_post_depth_coverage_enable ||
|
||||||
state->INTEL_conservative_rasterization_enable) {
|
state->INTEL_conservative_rasterization_enable) {
|
||||||
$$.flags.q.post_depth_coverage = 1;
|
$$.flags.q.post_depth_coverage = 1;
|
||||||
} else {
|
} else {
|
||||||
_mesa_glsl_error(& @1, state,
|
_mesa_glsl_error(& @1, state,
|
||||||
|
Loading…
Reference in New Issue
Block a user