projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radeonsi: Make border colour state handling safe for integer textures
[mesa.git]
/
src
/
gallium
/
auxiliary
/
translate
/
translate.c
diff --git
a/src/gallium/auxiliary/translate/translate.c
b/src/gallium/auxiliary/translate/translate.c
index 7678903f75c9adc3f4bfec1918a978905a9fb413..73287b667db77b04cfb4a7dacb3587074ccd655c 100644
(file)
--- a/
src/gallium/auxiliary/translate/translate.c
+++ b/
src/gallium/auxiliary/translate/translate.c
@@
-38,11
+38,18
@@
struct translate *translate_create( const struct translate_key *key )
{
struct translate *translate = NULL;
{
struct translate *translate = NULL;
-#if defined(PIPE_ARCH_X86)
+#if defined(PIPE_ARCH_X86)
|| defined(PIPE_ARCH_X86_64)
translate = translate_sse2_create( key );
if (translate)
return translate;
translate = translate_sse2_create( key );
if (translate)
return translate;
+#else
+ (void)translate;
#endif
return translate_generic_create( key );
}
#endif
return translate_generic_create( key );
}
+
+boolean translate_is_output_format_supported(enum pipe_format format)
+{
+ return translate_generic_is_output_format_supported(format);
+}