summaryrefslogtreecommitdiff
path: root/test_loader.h
blob: d8d135c01a192f3c992ac76f6f2e75a5e38b7a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef TEST_LOADER_H_
#define TEST_LOADER_H_

#include <vector>

#include "register_address.h"
#include "program_loader.h"

class program;


class test_loader : public program_loader {
public:
	program * load();
private:
	std::vector<enum swizzle> XYZ();
	std::vector<register_address> make_register(
		register_type type,
		unsigned int index,
		std::vector<enum swizzle> swizzles);
};

#endif //TEST_LOADER_H_