mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
i965/fs: Update an ancient, wrong comment about reg_offset.
This hasn't been true since SIMD16 mode was added. Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
bbb77fc2f1
commit
32ac5634d6
1 changed files with 5 additions and 3 deletions
|
|
@ -88,9 +88,11 @@ public:
|
|||
*/
|
||||
int reg;
|
||||
/**
|
||||
* For virtual registers, this is a hardware register offset from
|
||||
* the start of the register block (for example, a constant index
|
||||
* in an array access).
|
||||
* Offset from the start of the contiguous register block.
|
||||
*
|
||||
* For pre-register-allocation GRFs, this is in units of a float per pixel
|
||||
* (1 hardware register for SIMD8 mode, or 2 registers for SIMD16 mode).
|
||||
* For uniforms, this is in units of 1 float.
|
||||
*/
|
||||
int reg_offset;
|
||||
/** Register type. BRW_REGISTER_TYPE_* */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue