mirror of
https://github.com/revyos-package/mesa.git
synced 2026-04-28 09:13:36 +00:00
isl: Update isl_swizzle_supports_rendering comment
Bspec 57023: RENDER_SURFACE_STATE:: Shader Channel Select Red "Render Target messages do not support swapping of colors with alpha. The Red, Green, or Blue Shader Channel Selects do not support SCS_ALPHA. The Shader Channel Select Alpha does not support SCS_RED, SCS_GREEN, or SCS_BLUE." Cc: mesa-stable Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28791> (cherry picked from commit 2d8686ccd55b9df3396be1feb967bc9026f38b15)
This commit is contained in:
committed by
Eric Engestrom
parent
de5be437a9
commit
f174be0a3e
@@ -124,7 +124,7 @@
|
||||
"description": "isl: Update isl_swizzle_supports_rendering comment",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
||||
@@ -4064,6 +4064,13 @@ isl_swizzle_supports_rendering(const struct intel_device_info *devinfo,
|
||||
*
|
||||
* "For Render Target, this field MUST be programmed to
|
||||
* value = SCS_ALPHA."
|
||||
*
|
||||
* Bspec 57023: RENDER_SURFACE_STATE:: Shader Channel Select Red
|
||||
*
|
||||
* "Render Target messages do not support swapping of colors with
|
||||
* alpha. The Red, Green, or Blue Shader Channel Selects do not
|
||||
* support SCS_ALPHA. The Shader Channel Select Alpha does not support
|
||||
* SCS_RED, SCS_GREEN, or SCS_BLUE."
|
||||
*/
|
||||
return (swizzle.r == ISL_CHANNEL_SELECT_RED ||
|
||||
swizzle.r == ISL_CHANNEL_SELECT_GREEN ||
|
||||
|
||||
Reference in New Issue
Block a user