I was getting errors with "boolean" when compiling. This patch changes
boolean to bool from <stdbool.h>.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3903>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3903>
}
-boolean
+bool
tgsi_is_shadow_target(enum tgsi_texture_type target)
{
switch (target) {
#ifndef TGSI_UTIL_H
#define TGSI_UTIL_H
+#include <stdbool.h>
#include "pipe/p_shader_tokens.h"
#if defined __cplusplus
int
tgsi_util_get_shadow_ref_src_index(enum tgsi_texture_type tgsi_tex);
-boolean
+bool
tgsi_is_shadow_target(enum tgsi_texture_type target);
-static inline boolean
+static inline bool
tgsi_is_msaa_target(enum tgsi_texture_type target)
{
return (target == TGSI_TEXTURE_2D_MSAA ||