v3d: set use_clipdist_array=true for lower_clip?
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28308>
This commit is contained in:

committed by
Marge Bot

parent
c2a467dd4b
commit
7760642d2e
@@ -1095,7 +1095,7 @@ v3d_nir_lower_gs_late(struct v3d_compile *c)
|
|||||||
{
|
{
|
||||||
if (c->key->ucp_enables) {
|
if (c->key->ucp_enables) {
|
||||||
NIR_PASS(_, c->s, nir_lower_clip_gs, c->key->ucp_enables,
|
NIR_PASS(_, c->s, nir_lower_clip_gs, c->key->ucp_enables,
|
||||||
false, NULL);
|
true, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Note: GS output scalarizing must happen after nir_lower_clip_gs. */
|
/* Note: GS output scalarizing must happen after nir_lower_clip_gs. */
|
||||||
@@ -1107,7 +1107,7 @@ v3d_nir_lower_vs_late(struct v3d_compile *c)
|
|||||||
{
|
{
|
||||||
if (c->key->ucp_enables) {
|
if (c->key->ucp_enables) {
|
||||||
NIR_PASS(_, c->s, nir_lower_clip_vs, c->key->ucp_enables,
|
NIR_PASS(_, c->s, nir_lower_clip_vs, c->key->ucp_enables,
|
||||||
false, false, NULL);
|
false, true, NULL);
|
||||||
NIR_PASS_V(c->s, nir_lower_io_to_scalar,
|
NIR_PASS_V(c->s, nir_lower_io_to_scalar,
|
||||||
nir_var_shader_out, NULL, NULL);
|
nir_var_shader_out, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user