diff options
author | Gert Wollny <[email protected]> | 2017-06-21 10:05:23 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-09-06 11:49:27 +0200 |
commit | 732246701f58a6be4bd377fbd2ecf1f10737824e (patch) | |
tree | 5bea2d6be0fae6a8a97d64c7930f9c269d5af20c /src/mesa/Makefile.sources | |
parent | b65ff7a02df26f900faac52b3529662dc0148fab (diff) |
mesa/st: glsl_to_tgsi move some helper classes to extra files
To prepare the implementation of a temp register lifetime tracker
some of the classes are moved into seperate header/implementation
files to make them accessible from other files.
Specifically these are:
class st_src_reg;
class st_dst_reg;
class glsl_to_tgsi_instruction;
struct rename_reg_pair;
int swizzle_for_type(const glsl_type *type, int component);
as inline:
bool is_resource_instruction(unsigned opcode);
unsigned num_inst_dst_regs(const glsl_to_tgsi_instruction *op);
unsigned num_inst_src_regs(const glsl_to_tgsi_instruction *op);
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r-- | src/mesa/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index e65b091fe8c..40d1a2e5383 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -511,6 +511,8 @@ STATETRACKER_FILES = \ state_tracker/st_glsl_to_nir.cpp \ state_tracker/st_glsl_to_tgsi.cpp \ state_tracker/st_glsl_to_tgsi.h \ + state_tracker/st_glsl_to_tgsi_private.cpp \ + state_tracker/st_glsl_to_tgsi_private.h \ state_tracker/st_glsl_types.cpp \ state_tracker/st_glsl_types.h \ state_tracker/st_manager.c \ |