Unified shader working for both Breezy Vulkan and GNOME
This commit is contained in:
parent
d2d40d2931
commit
b50e7e5c0f
|
|
@ -345,7 +345,7 @@ export const XREffect = GObject.registerClass({
|
|||
|
||||
vfunc_build_pipeline() {
|
||||
const code = getShaderSource(`${Globals.extension_dir}/IMUAdjust.frag`);
|
||||
const main = 'PS_IMU_Transform(cogl_tex_coord_in[0].xy, cogl_color_out);';
|
||||
const main = 'PS_IMU_Transform(true, source_to_display_ratio, show_banner, cogl_tex_coord_in[0].xy, cogl_color_out);';
|
||||
this.add_glsl_snippet(Shell.SnippetHook.FRAGMENT, code, main, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 6e455867e465d08ed815966c0e1ff6ef38274df3
|
||||
Subproject commit a6f3c883e231b9055f9d0607acdb9301c8d784ea
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 131c91446d8d99b2d2e612fb1c5cc46fc8c9a689
|
||||
Subproject commit f3837cf539f8e1ea96ce213a591efb87897c9edd
|
||||
Loading…
Reference in New Issue