Merge pull request #22562 from muiroc/gles2_canvas_skip_transform
Uses skip_vertex_transform in GLES2 canvas shader
This commit is contained in:
commit
6e619ccb24
1 changed files with 6 additions and 1 deletions
|
@ -89,9 +89,14 @@ VERTEX_SHADER_CODE
|
|||
/* clang-format on */
|
||||
}
|
||||
|
||||
#if !defined(SKIP_TRANSFORM_USED)
|
||||
outvec = extra_matrix * outvec;
|
||||
outvec = modelview_matrix * outvec;
|
||||
#endif
|
||||
|
||||
color_interp = color;
|
||||
|
||||
gl_Position = projection_matrix * modelview_matrix * outvec;
|
||||
gl_Position = projection_matrix * outvec;
|
||||
}
|
||||
|
||||
/* clang-format off */
|
||||
|
|
Loading…
Reference in a new issue