summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-11-09 16:23:08 -0800
committerDylan Baker <[email protected]>2019-11-05 16:39:55 +0000
commitee4f1bc187536d32c30f4505247750754e27f6e4 (patch)
treee389172df07d3e9ea6f7228ded7e9abbc4a2a105 /src/gallium/state_trackers
parent6b6897a9f9bdf813709a223e31e1eb5a6563686b (diff)
util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN
As requested by Tim. This was generated with: grep 'PIPE_ARCH_.*_ENDIAN' -rIl | xargs sed -ie 's@PIPE_ARCH_\(.*\)_ENDIAN@UTIL_ARCH_\1_ENDIAN@'g v2: - add this patch Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/osmesa/osmesa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/state_trackers/osmesa/osmesa.c
index 660b4c860fc..36f0f98fbe8 100644
--- a/src/gallium/state_trackers/osmesa/osmesa.c
+++ b/src/gallium/state_trackers/osmesa/osmesa.c
@@ -191,7 +191,7 @@ osmesa_choose_format(GLenum format, GLenum type)
switch (format) {
case OSMESA_RGBA:
if (type == GL_UNSIGNED_BYTE) {
-#if PIPE_ARCH_LITTLE_ENDIAN
+#if UTIL_ARCH_LITTLE_ENDIAN
return PIPE_FORMAT_R8G8B8A8_UNORM;
#else
return PIPE_FORMAT_A8B8G8R8_UNORM;
@@ -209,7 +209,7 @@ osmesa_choose_format(GLenum format, GLenum type)
break;
case OSMESA_BGRA:
if (type == GL_UNSIGNED_BYTE) {
-#if PIPE_ARCH_LITTLE_ENDIAN
+#if UTIL_ARCH_LITTLE_ENDIAN
return PIPE_FORMAT_B8G8R8A8_UNORM;
#else
return PIPE_FORMAT_A8R8G8B8_UNORM;
@@ -227,7 +227,7 @@ osmesa_choose_format(GLenum format, GLenum type)
break;
case OSMESA_ARGB:
if (type == GL_UNSIGNED_BYTE) {
-#if PIPE_ARCH_LITTLE_ENDIAN
+#if UTIL_ARCH_LITTLE_ENDIAN
return PIPE_FORMAT_A8R8G8B8_UNORM;
#else
return PIPE_FORMAT_B8G8R8A8_UNORM;