Possibly right const addressing and more shader instructions.

This commit is contained in:
Ben Vanik
2015-03-15 11:20:19 -07:00
parent b07cd49281
commit 795df80687
4 changed files with 144 additions and 39 deletions

View File

@@ -32,6 +32,10 @@ namespace ucode {
#define XEPACKEDUNION(name, value) union __attribute__((packed)) name
#endif // MSVC
// Closest AMD doc:
// http://developer.amd.com/wordpress/media/2012/10/R600_Instruction_Set_Architecture.pdf
// Microcode format differs, but most fields/enums are the same.
// This code comes from the freedreno project:
// https://github.com/freedreno/freedreno/blob/master/includes/instr-a2xx.h
/*