mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
nir: add image and sampler type to glsl_get_bit_size()
These are needed for ARB_bindless_texture support. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
324d2fe6a7
commit
549ccbb435
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,8 @@ glsl_get_bit_size(const struct glsl_type *type)
|
|||
case GLSL_TYPE_DOUBLE:
|
||||
case GLSL_TYPE_INT64:
|
||||
case GLSL_TYPE_UINT64:
|
||||
case GLSL_TYPE_IMAGE:
|
||||
case GLSL_TYPE_SAMPLER:
|
||||
return 64;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue