mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
u_blitter: Fix out-dated draw_rectangle handler doc
Remove mention of UTIL_BLITTER_ATTRIB_COLOR and UTIL_BLITTER_ATTRIB_TEXCOORD and add a few words about UTIL_BLITTER_ATTRIB_XY and UTIL_BLITTER_ATTRIB_XYZW. Fixes:22ed1ba01a("gallium/u_blitter: use draw_rectangle for all blits except cubemaps") Fixes:ca09c173f6("gallium/u_blitter: remove UTIL_BLITTER_ATTRIB_COLOR, use a constant buffer") Signed-off-by: Loïc Molinari <loic.molinari@collabora.com> Reviewed-by: Ashley Smith <ashley.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40124>
This commit is contained in:
parent
b205c7d592
commit
d83e090f12
1 changed files with 5 additions and 7 deletions
|
|
@ -72,13 +72,11 @@ struct blitter_context
|
|||
*
|
||||
* \param type Semantics of the attributes "attrib".
|
||||
* If type is UTIL_BLITTER_ATTRIB_NONE, ignore them.
|
||||
* If type is UTIL_BLITTER_ATTRIB_COLOR, the attributes
|
||||
* make up a constant RGBA color, and should go
|
||||
* to the GENERIC0 varying slot of a fragment shader.
|
||||
* If type is UTIL_BLITTER_ATTRIB_TEXCOORD, {a1, a2} and
|
||||
* {a3, a4} specify top-left and bottom-right texture
|
||||
* coordinates of the rectangle, respectively, and should go
|
||||
* to the GENERIC0 varying slot of a fragment shader.
|
||||
* If type is UTIL_BLITTER_ATTRIB_TEXCOORD_XY or
|
||||
* UTIL_BLITTER_ATTRIB_TEXCOORD_XYZW, attrib stores the
|
||||
* 2-component or 4-component texture coordinates of the
|
||||
* rectangle, and should go to the GENERIC0 varying slot of a
|
||||
* fragment shader.
|
||||
*
|
||||
* \param attrib See type.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue