mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
i965: Update comment about clipper constants.
The old VS backend doesn't exist, but I believe these still need to be delivered to the clipper thread. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
b68e662e61
commit
31c1ea5ed4
1 changed files with 1 additions and 9 deletions
|
|
@ -207,15 +207,7 @@ brw_upload_constant_buffer(struct brw_context *brw)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/* When using the old VS backend, the clipplanes are actually delivered to
|
||||
* both CLIP and VS units. VS uses them to calculate the outcode bitmasks.
|
||||
*
|
||||
* When using the new VS backend, it is responsible for setting up its own
|
||||
* clipplane constants if it needs them. This results in a slight waste of
|
||||
* of curbe space, but the advantage is that the new VS backend can use its
|
||||
* general-purpose uniform layout code to store the clipplanes.
|
||||
*/
|
||||
/* clipper constants */
|
||||
if (brw->curbe.clip_size) {
|
||||
GLuint offset = brw->curbe.clip_start * 16;
|
||||
GLuint j;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue