Hello, On Thu, May 28, 2015 at 1:04 PM, Grigori Goronzy <g...@chown.ath.cx> wrote: > @@ -286,6 +287,13 @@ ilo_get_compute_param(struct pipe_screen *screen, > ptr = &val.images_supported; > size = sizeof(val.images_supported); > break; > + case PIPE_COMPUTE_CAP_SUBGROUP_SIZE: > + /* best case is SIMD32 */ > + val.subgroup_size = 32; > + > + ptr = &val.subgroup_size; > + size = sizeof(val.subgroup_size); > + break; > default: > ptr = NULL; > size = 0;
Everything else seems fine to me, but IIRC Intel's IGPs have a SIMD width of 16, not 32. (Or if it depends on generation, we should probably have a lookup function like for r600). -- Giuseppe "Oblomov" Bilotta _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev