summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/r300/r300_texture.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-04-02 09:30:07 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-04-02 09:30:07 +0000
commitf54e142455cb3c9d1662dae7e096a32a47e5409b (patch)
tree440ecd46269f0eac25e349e1ed58f246490c5e26 /lib/mesa/src/gallium/drivers/r300/r300_texture.h
parent36d8503c27530f68d655d3ef77a6eaa4dfd8ad65 (diff)
Import Mesa 23.3.6
Diffstat (limited to 'lib/mesa/src/gallium/drivers/r300/r300_texture.h')
-rw-r--r--lib/mesa/src/gallium/drivers/r300/r300_texture.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/mesa/src/gallium/drivers/r300/r300_texture.h b/lib/mesa/src/gallium/drivers/r300/r300_texture.h
index fc180f7e0..5859ee090 100644
--- a/lib/mesa/src/gallium/drivers/r300/r300_texture.h
+++ b/lib/mesa/src/gallium/drivers/r300/r300_texture.h
@@ -23,7 +23,7 @@
#ifndef R300_TEXTURE_H
#define R300_TEXTURE_H
-#include "pipe/p_compiler.h"
+#include "util/compiler.h"
#include "util/format/u_formats.h"
#include "pipe/p_screen.h"
@@ -38,20 +38,20 @@ struct r300_screen;
unsigned r300_get_swizzle_combined(const unsigned char *swizzle_format,
const unsigned char *swizzle_view,
- boolean dxtc_swizzle);
+ bool dxtc_swizzle);
uint32_t r300_translate_texformat(enum pipe_format format,
const unsigned char *swizzle_view,
- boolean is_r500,
- boolean dxtc_swizzle);
+ bool is_r500,
+ bool dxtc_swizzle);
uint32_t r500_tx_format_msb_bit(enum pipe_format format);
-boolean r300_is_colorbuffer_format_supported(enum pipe_format format);
+bool r300_is_colorbuffer_format_supported(enum pipe_format format);
-boolean r300_is_zs_format_supported(enum pipe_format format);
+bool r300_is_zs_format_supported(enum pipe_format format);
-boolean r300_is_sampler_format_supported(enum pipe_format format);
+bool r300_is_sampler_format_supported(enum pipe_format format);
void r300_texture_setup_format_state(struct r300_screen *screen,
struct r300_resource *tex,