613d76f2df
One resource is used for shader version 1.10 and one for version 1.40. The ideas behind this change is to remove the locating of the shader sources and also to fix that user provided shaders could be loaded instead of the original ones (possible attack vector on Wayland). To simplify the ShaderManager provides a new method call to load the shader from the resource. This means the effects don't need to duplicate the check for the shader version any more and also don't need to duplicate the file reading functionality. REVIEW: 126905
26 lines
1.6 KiB
Text
26 lines
1.6 KiB
Text
<!DOCTYPE RCC><RCC version="1.0">
|
|
<qresource prefix="/effect-shaders-1.10">
|
|
<file alias="coverswitch-reflection.glsl">coverswitch/shaders/1.10/coverswitch-reflection.glsl</file>
|
|
<file alias="cube-cap.glsl">cube/data/1.10/cube-cap.glsl</file>
|
|
<file alias="cube-reflection.glsl">cube/data/1.10/cube-reflection.glsl</file>
|
|
<file alias="cylinder.vert">cube/data/1.10/cylinder.vert</file>
|
|
<file alias="sphere.vert">cube/data/1.10/sphere.vert</file>
|
|
<file alias="invert.frag">invert/data/1.10/invert.frag</file>
|
|
<file alias="logout-blur.frag">logout/data/1.10/logout-blur.frag</file>
|
|
<file alias="vignetting.frag">logout/data/1.10/vignetting.frag</file>
|
|
<file alias="lookingglass.frag">lookingglass/data/1.10/lookingglass.frag</file>
|
|
<file alias="blinking-startup-fragment.glsl">startupfeedback/data/blinking-startup-fragment.glsl</file>
|
|
</qresource>
|
|
<qresource prefix="/effect-shaders-1.40">
|
|
<file alias="coverswitch-reflection.glsl">coverswitch/shaders/1.40/coverswitch-reflection.glsl</file>
|
|
<file alias="cube-cap.glsl">cube/data/1.40/cube-cap.glsl</file>
|
|
<file alias="cube-reflection.glsl">cube/data/1.40/cube-reflection.glsl</file>
|
|
<file alias="cylinder.vert">cube/data/1.40/cylinder.vert</file>
|
|
<file alias="sphere.vert">cube/data/1.40/sphere.vert</file>
|
|
<file alias="invert.frag">invert/data/1.40/invert.frag</file>
|
|
<file alias="logout-blur.frag">logout/data/1.40/logout-blur.frag</file>
|
|
<file alias="vignetting.frag">logout/data/1.40/vignetting.frag</file>
|
|
<file alias="lookingglass.frag">lookingglass/data/1.40/lookingglass.frag</file>
|
|
</qresource>
|
|
</RCC>
|
|
|