Re: [Mesa-dev] [PATCH 11/13] i965/fs_surface_builder: Explicitly handle FORMAT_NONE in num_image_coordinates

2016-04-21 Thread Chad Versace
On Sat 16 Apr 2016, Jason Ekstrand wrote: > Previously, we were relying on has_matching_typed_format returning true for > MESA_FORMAT_NONE which, in turn, relied on _mesa_get_format_bytes returning > 1 for MESA_FORMAT_NONE. When we switch to ISL, this behaviour will no > longer be something we can

[Mesa-dev] [PATCH 11/13] i965/fs_surface_builder: Explicitly handle FORMAT_NONE in num_image_coordinates

2016-04-16 Thread Jason Ekstrand
Previously, we were relying on has_matching_typed_format returning true for MESA_FORMAT_NONE which, in turn, relied on _mesa_get_format_bytes returning 1 for MESA_FORMAT_NONE. When we switch to ISL, this behaviour will no longer be something we can rely on. --- src/mesa/drivers/dri/i965/brw_fs_su