[Merge] ~smspillaz/compiz:fix-blur-frag-shader-precision-gles into compiz:master

Sam Spilsbury mp+412180 at code.launchpad.net
Sun Nov 21 18:35:44 UTC 2021


Sam Spilsbury has proposed merging ~smspillaz/compiz:fix-blur-frag-shader-precision-gles into compiz:master.

Commit message:




Requested reviews:
  Compiz Maintainers (compiz-team)

For more details, see:
https://code.launchpad.net/~smspillaz/compiz/+git/compiz/+merge/412180

Background blurring wasn't working on GLES platforms. Running in the terminal would get a bunch of these messages:

0:1(1): error: No precision specified in this scope for type `vec2'                                                                                                                                                                                                             
0:6(2): error: No precision specified in this scope for type `vec4'                                                                                                                                                                                                             
0:6(2): error: No precision specified in this scope for type `vec4'                                                                                                                                                                                                             
0:7(2): error: No precision specified in this scope for type `vec4'                                                                                                                                                                                                             
0:7(2): error: No precision specified in this scope for type `vec4'                                                                                                                                                                                                             
0:8(2): error: No precision specified in this scope for type `vec2'                                                                                                                                                                                                             
0:8(2): error: No precision specified in this scope for type `vec2'                                                                                                                                                                                                             
0:9(2): error: No precision specified in this scope for type `vec2'                                                                                                                                                                                                             0:9(2): error: No precision specified in this scope for type `vec2'                                                                                                                                                                                                             
0:10(2): error: No precision specified in this scope for type `vec4'

This change sets the precision to medium on the fragment shader by default, so that we don't get these errors and it works again.
-- 
Your team Compiz Maintainers is requested to review the proposed merge of ~smspillaz/compiz:fix-blur-frag-shader-precision-gles into compiz:master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 548 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20211121/fe37470a/attachment.diff>


More information about the Ubuntu-reviews mailing list