mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 08:10:33 +01:00
i965/fs: Set output_components for lowered clip distance outputs
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
parent
8200793649
commit
f55836f567
1 changed files with 2 additions and 0 deletions
|
|
@ -840,7 +840,9 @@ void fs_visitor::compute_clip_distance(gl_clip_plane *clip_planes)
|
|||
const fs_builder abld = bld.annotate("user clip distances");
|
||||
|
||||
this->outputs[VARYING_SLOT_CLIP_DIST0] = vgrf(glsl_type::vec4_type);
|
||||
this->output_components[VARYING_SLOT_CLIP_DIST0] = 4;
|
||||
this->outputs[VARYING_SLOT_CLIP_DIST1] = vgrf(glsl_type::vec4_type);
|
||||
this->output_components[VARYING_SLOT_CLIP_DIST1] = 4;
|
||||
|
||||
for (int i = 0; i < key->nr_userclip_plane_consts; i++) {
|
||||
fs_reg u = userplane[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue