diff options
author | Tom Stellard <[email protected]> | 2012-05-09 11:06:48 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-10 15:41:31 -0400 |
commit | fa63f976522bd4faf19249e8c9ac4d3edda498d9 (patch) | |
tree | aa4faf0c0741d902fb7844fff879a9d5f37696b9 /src/gallium/drivers/radeon/SIAssignInterpRegs.cpp | |
parent | 92faa21d29b49689ccfff852cfff257fccec514e (diff) |
radeon/llvm: Add some comments
Diffstat (limited to 'src/gallium/drivers/radeon/SIAssignInterpRegs.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/SIAssignInterpRegs.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp b/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp index b0bdf701a74..1ef097f7b1e 100644 --- a/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp +++ b/src/gallium/drivers/radeon/SIAssignInterpRegs.cpp @@ -1,4 +1,4 @@ -//===-- SIAssignInterpRegs.cpp - TODO: Add brief description -------===// +//===-- SIAssignInterpRegs.cpp - Assign interpolation registers -----------===// // // The LLVM Compiler Infrastructure // @@ -7,7 +7,12 @@ // //===----------------------------------------------------------------------===// // -// TODO: Add full description +// This pass maps the pseudo interpolation registers to the correct physical +// registers. Prior to executing a fragment shader, the GPU loads interpolation +// parameters into physical registers. The specific physical register that each +// interpolation parameter ends up in depends on the type of the interpolation +// parameter as well as how many interpolation parameters are used by the +// shader. // //===----------------------------------------------------------------------===// |