GPU/Shader Instruction Set: Difference between revisions
The actual D3D shader token stream shows even more resemblance than the instruction mnemonics themselves. |
|||
Line 5: | Line 5: | ||
Both instructions and descriptors are coded in little endian. | Both instructions and descriptors are coded in little endian. | ||
Basic implementations of the following specification can be found at [https://github.com/smealum/aemstro] and [https://github.com/neobrain/nihstro]. | Basic implementations of the following specification can be found at [https://github.com/smealum/aemstro] and [https://github.com/neobrain/nihstro]. | ||
The instruction set seems to have been heavily inspired by Microsoft's vs_3_0 [http://msdn.microsoft.com/en-us/library/windows/desktop/bb172938%28v=vs.85%29.aspx]. | The instruction set seems to have been heavily inspired by Microsoft's vs_3_0 [http://msdn.microsoft.com/en-us/library/windows/desktop/bb172938%28v=vs.85%29.aspx] and the Direct3D shader code [https://msdn.microsoft.com/en-us/library/windows/hardware/ff552891%28v=vs.85%29.aspx]. | ||
Please note that this page is being written as the instruction set is reverse engineered; as such it may very well contain mistakes. | Please note that this page is being written as the instruction set is reverse engineered; as such it may very well contain mistakes. | ||