fix: reduce shader usage
This commit is contained in:
@@ -10,6 +10,8 @@ qml_module(ZShell-components
|
||||
sparklinecontent.hpp sparklinecontent.cpp
|
||||
sparklineitem.hpp sparklineitem.cpp
|
||||
sparklinesceneitem.hpp sparklinesceneitem.cpp
|
||||
roundedmask.hpp roundedmask.cpp
|
||||
roundedclip.hpp roundedclip.cpp
|
||||
wheelinverter.hpp
|
||||
LIBRARIES
|
||||
Qt::Quick
|
||||
@@ -17,3 +19,12 @@ qml_module(ZShell-components
|
||||
Qt::CanvasPainter
|
||||
ZShell-internal
|
||||
)
|
||||
|
||||
qt_add_shaders(ZShell-components "components_shaders"
|
||||
BATCHABLE OPTIMIZED NOHLSL NOMSL
|
||||
GLSL "300es,330"
|
||||
PREFIX "/"
|
||||
FILES
|
||||
shaders/roundedmask.frag
|
||||
shaders/roundedmask.vert
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user