mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
zink: stop exporting PIPE_SHADER_CAP_FP16_DERIVATIVES
spirv doesn't support this fixes #5561 cc: mesa-stable Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13530>
This commit is contained in:
parent
3094524621
commit
c13da98929
1 changed files with 1 additions and 2 deletions
|
|
@ -827,8 +827,7 @@ zink_get_shader_param(struct pipe_screen *pscreen,
|
|||
return screen->info.feats11.uniformAndStorageBuffer16BitAccess ||
|
||||
(screen->info.have_KHR_16bit_storage && screen->info.storage_16bit_feats.uniformAndStorageBuffer16BitAccess);
|
||||
case PIPE_SHADER_CAP_FP16_DERIVATIVES:
|
||||
return screen->info.feats11.storageInputOutput16 ||
|
||||
(screen->info.have_KHR_16bit_storage && screen->info.storage_16bit_feats.storageInputOutput16);
|
||||
return 0; //spirv requires 32bit derivative srcs and dests
|
||||
case PIPE_SHADER_CAP_FP16:
|
||||
return screen->info.feats12.shaderFloat16 ||
|
||||
(screen->info.have_KHR_shader_float16_int8 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue