mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 02:04:41 +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
|
||||
tab_width = 8
|
||||
|
||||
[*.{c,h,cpp,hpp,cc,hh,y}]
|
||||
[*.{c,h,cpp,hpp,cc,hh,y,yy}]
|
||||
indent_style = space
|
||||
indent_size = 3
|
||||
max_line_length = 78
|
||||
|
@ -1438,10 +1438,10 @@ layout_qualifier_id:
|
||||
"valid in fragment shaders");
|
||||
}
|
||||
|
||||
if (state->INTEL_conservative_rasterization_enable) {
|
||||
$$.flags.q.inner_coverage = 1;
|
||||
} else {
|
||||
_mesa_glsl_error(& @1, state,
|
||||
if (state->INTEL_conservative_rasterization_enable) {
|
||||
$$.flags.q.inner_coverage = 1;
|
||||
} else {
|
||||
_mesa_glsl_error(& @1, state,
|
||||
"inner_coverage layout qualifier present, "
|
||||
"but the INTEL_conservative_rasterization extension "
|
||||
"is not enabled.");
|
||||
@ -1456,7 +1456,7 @@ layout_qualifier_id:
|
||||
}
|
||||
|
||||
if (state->ARB_post_depth_coverage_enable ||
|
||||
state->INTEL_conservative_rasterization_enable) {
|
||||
state->INTEL_conservative_rasterization_enable) {
|
||||
$$.flags.q.post_depth_coverage = 1;
|
||||
} else {
|
||||
_mesa_glsl_error(& @1, state,
|
||||
|
Loading…
Reference in New Issue
Block a user