Style: Declare inline macros as attributes
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
#[modes]
|
||||
|
||||
mode_ninepatch = #define USE_NINEPATCH
|
||||
|
||||
/* clang-format off */
|
||||
#[specializations]
|
||||
|
||||
DISABLE_LIGHTING = false
|
||||
@ -12,13 +12,13 @@ DISABLE_LIGHTING = false
|
||||
|
||||
precision highp float;
|
||||
precision highp int;
|
||||
|
||||
/* clang-format on */
|
||||
layout(location = 0) in highp vec3 vertex;
|
||||
|
||||
out highp vec4 position_interp;
|
||||
|
||||
void main() {
|
||||
position_interp = vec4(vertex.x,1,0,1);
|
||||
position_interp = vec4(vertex.x, 1, 0, 1);
|
||||
}
|
||||
|
||||
#[fragment]
|
||||
|
||||
Reference in New Issue
Block a user