Add Documentation Headers to all the GPU Engines

This commit is contained in:
Fernando Sahmkow
2019-04-23 08:44:52 -04:00
parent 021d28c9b8
commit e140e2ebc6
5 changed files with 29 additions and 0 deletions

View File

@ -21,6 +21,12 @@ class RasterizerInterface;
namespace Tegra::Engines {
/**
* This Engine is known as G80_2D. Documentation can be found in:
* https://github.com/envytools/envytools/blob/master/rnndb/graph/g80_2d.xml
* https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h
*/
#define FERMI2D_REG_INDEX(field_name) \
(offsetof(Tegra::Engines::Fermi2D::Regs, field_name) / sizeof(u32))