Add Documentation Headers to all the GPU Engines

This commit is contained in:
Fernando Sahmkow 2019-04-23 08:44:52 -04:00
parent 5c4de1e3fb
commit bcf4b19fca
5 changed files with 29 additions and 0 deletions
src/video_core/engines

View file

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