commit | db1fddcf0fa91a71282b439fe0406d26585eab9f | [log] [tgz] |
---|---|---|
author | Timur Kristóf <timur.kristof@gmail.com> | Wed Sep 25 14:10:18 2019 +0200 |
committer | Connor Abbott <cwabbott0@gmail.com> | Thu Sep 26 13:36:49 2019 +0000 |
tree | b53c5007f8c93d8585d890092c0a2f74ae43cd65 | |
parent | d8b46f8964782b6f1fafb574447f1605e40e394f [diff] |
amd/common: Extract some helper functions to ac_shader_util. This commit moves ac_get_tbuffer_format, ac_get_sampler_dim and ac_get_image_dim into ac_shader_util, thus enabling them to be used by compilers other than LLVM. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Marek Olšák <marek.olsak@amd.com>