broadcom/compiler: emit passthrough Z write if shader reads Z

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14037>
This commit is contained in:
Iago Toral Quiroga
2021-12-02 11:18:13 +01:00
committed by Marge Bot
parent d44d2e823f
commit 6d4a645c90
2 changed files with 19 additions and 3 deletions

View File

@@ -655,6 +655,7 @@ struct v3d_compile {
bool uses_center_w;
bool writes_z;
bool reads_z;
bool uses_implicit_point_line_varyings;
/* True if a fragment shader reads gl_PrimitiveID */