mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
tgsi: add simple tgsi_is_msaa_target() helper
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
070e5a7405
commit
ef10b5427a
1 changed files with 8 additions and 0 deletions
|
|
@ -88,6 +88,14 @@ tgsi_util_get_shadow_ref_src_index(unsigned tgsi_tex);
|
|||
boolean
|
||||
tgsi_is_shadow_target(unsigned target);
|
||||
|
||||
|
||||
static inline boolean
|
||||
tgsi_is_msaa_target(unsigned target)
|
||||
{
|
||||
return (target == TGSI_TEXTURE_2D_MSAA ||
|
||||
target == TGSI_TEXTURE_2D_ARRAY_MSAA);
|
||||
}
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue