FS#70789 - [shaderc] compilation error with shaderc extra package only

Attached to Project: Arch Linux
Opened by quietvoid (quietvoid) - Monday, 10 May 2021, 21:09 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 12 May 2021, 14:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
There seems to be a bug with the shaderc extra package which does not happen when building shaderc-git on the same tag from upstream.

Additional info:
* package version(s)
v2020.5

* config and/or log files etc.
* link to upstream bug report, if any
Not upstream but there are logs in this issue for libplacebo: https://code.videolan.org/videolan/libplacebo/-/issues/149

Steps to reproduce:
Install shaderc extra package
Clone libplacebo master branch, https://code.videolan.org/videolan/libplacebo
Compile:
* DIR=./build
* meson $DIR
* meson configure $DIR -Dvulkan=enabled -Dtests=true -Ddebug=true
* ninja -C build test

libplacebo builds but the vulkan test fails:
[0.227][e] shaderc output:
input:48: error: 'subgroup op' : requires SPIR-V 1.3
input:49: error: 'subgroup op' : requires SPIR-V 1.3
input:50: error: 'subgroup op' : requires SPIR-V 1.3

[0.227][e] shaderc compile status 'error' (3 errors, 0 warnings)


However if I replace shaderc with the AUR shaderc-git package (built with 'git+https://github.com/google/shaderc.git#tag=v2020.5')
The same libplacebo test does not fail.

So somehow there's a difference between the extra shaderc v2020.5 and shaderc-git v2020.5.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 12 May 2021, 14:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  shaderc 2021.0-1
Comment by quietvoid (quietvoid) - Wednesday, 12 May 2021, 14:34 GMT
Does not happen after upgrading to shaderc-2021.0-1.

Loading...