mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
tgsi/scan: add tgsi_shader_info::reads_samplemask
This commit is contained in:
parent
0d68b91220
commit
84a6d2d7d6
2 changed files with 3 additions and 0 deletions
|
|
@ -377,6 +377,8 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
|
|||
info->reads_position = TRUE;
|
||||
else if (semName == TGSI_SEMANTIC_FACE)
|
||||
info->uses_frontface = TRUE;
|
||||
else if (semName == TGSI_SEMANTIC_SAMPLEMASK)
|
||||
info->reads_samplemask = TRUE;
|
||||
}
|
||||
else if (file == TGSI_FILE_OUTPUT) {
|
||||
info->output_semantic_name[reg] = (ubyte) semName;
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ struct tgsi_shader_info
|
|||
ubyte colors_written;
|
||||
boolean reads_position; /**< does fragment shader read position? */
|
||||
boolean reads_z; /**< does fragment shader read depth? */
|
||||
boolean reads_samplemask; /**< does fragment shader read sample mask? */
|
||||
boolean writes_z; /**< does fragment shader write Z value? */
|
||||
boolean writes_stencil; /**< does fragment shader write stencil value? */
|
||||
boolean writes_samplemask; /**< does fragment shader write sample mask? */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue