mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 19:40:30 +01:00
draw: Compile draw_vs_aos only on x86.
This commit is contained in:
parent
eb189c856d
commit
f27c7729a9
2 changed files with 10 additions and 0 deletions
|
|
@ -31,6 +31,9 @@
|
|||
#ifndef DRAW_VS_AOS_H
|
||||
#define DRAW_VS_AOS_H
|
||||
|
||||
#include "pipe/p_config.h"
|
||||
|
||||
#ifdef PIPE_ARCH_X86
|
||||
|
||||
struct tgsi_token;
|
||||
struct x86_function;
|
||||
|
|
@ -239,6 +242,7 @@ struct draw_vs_varient_aos_sse {
|
|||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@
|
|||
**************************************************************************/
|
||||
|
||||
|
||||
#include "pipe/p_config.h"
|
||||
|
||||
#ifdef PIPE_ARCH_X86
|
||||
|
||||
#include "pipe/p_util.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
#include "tgsi/util/tgsi_parse.h"
|
||||
|
|
@ -295,3 +299,5 @@ struct aos_machine *draw_vs_aos_machine( void )
|
|||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue