broadcom/compiler: check if vertex shader writes point size
The same we already check for geometry shaders. We will use this shortly. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29413>
This commit is contained in:
committed by
Marge Bot
parent
7c07f1cdfb
commit
c30833f233
@@ -792,6 +792,9 @@ v3d_vs_set_prog_data(struct v3d_compile *c,
|
||||
if (prog_data->uses_iid)
|
||||
prog_data->vpm_input_size++;
|
||||
|
||||
prog_data->writes_psiz =
|
||||
c->s->info.outputs_written & (1 << VARYING_SLOT_PSIZ);
|
||||
|
||||
/* Input/output segment size are in sectors (8 rows of 32 bits per
|
||||
* channel).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user