summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_link.h
blob: c21686eef59aae59b9f342a8c57bbd0f5db5b3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#ifndef SVGA_LINK_H
#define SVGA_LINK_H

#include "pipe/p_defines.h"

struct svga_context;

struct shader_linkage
{
   unsigned num_inputs;
   unsigned input_map_max;  /* highest index of mapped inputs */
   ubyte input_map[PIPE_MAX_SHADER_INPUTS];
};

void
svga_link_shaders(const struct tgsi_shader_info *outshader_info,
                  const struct tgsi_shader_info *inshader_info,
                  struct shader_linkage *linkage);

#endif /* SVGA_LINK_H */