e67e072637
This patch implements the free Midgard shader toolchain: the assembler, the disassembler, and the NIR-based compiler. The assembler is a standalone inaccessible Python script for reference purposes. The disassembler and the compiler are implemented in C, accessible via the standalone `midgard_compiler` binary. Later patches will use these interfaces from the driver for online compilation. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Rob Clark <robdclark@gmail.com> Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Emil Velikov <emil.velikov@collabora.com>
10 lines
194 B
C++
10 lines
194 B
C++
struct exec_list;
|
|
|
|
bool do_mat_op_to_vec(struct exec_list *instructions);
|
|
|
|
extern "C" {
|
|
bool c_do_mat_op_to_vec(struct exec_list *instructions) {
|
|
return do_mat_op_to_vec(instructions);
|
|
}
|
|
};
|