diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2019-02-22 10:48:39 -0600 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2019-07-24 12:55:40 -0500 |
commit | c84b8eeeac30ec033847a3e13d05d1162e78daf3 (patch) | |
tree | 2fba023f049627a457343e8664566852f6baee9f /include/vulkan | |
parent | 1981460af2c17d55c17be2475a28bbf711a80c79 (diff) | |
download | mesa-c84b8eeeac30ec033847a3e13d05d1162e78daf3.tar.gz mesa-c84b8eeeac30ec033847a3e13d05d1162e78daf3.tar.bz2 mesa-c84b8eeeac30ec033847a3e13d05d1162e78daf3.zip |
intel/compiler: Be more conservative about subgroup sizes in GL
The rules for gl_SubgroupSize in Vulkan require that it be a constant
that can be queried through the API. However, all GL requires is that
it's a uniform. Instead of always claiming that the subgroup size in
the shader is 32 in GL like we have to do for Vulkan, claim 8 for
geometry stages, the maximum for fragment shaders, and the actual size
for compute.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Diffstat (limited to 'include/vulkan')
0 files changed, 0 insertions, 0 deletions