glsl: handle varyings that are not written to but have an xfb_offset
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -108,6 +108,14 @@ public:
|
||||
return this->next_buffer_separator;
|
||||
}
|
||||
|
||||
bool is_varying_written() const
|
||||
{
|
||||
if (this->next_buffer_separator || this->skip_components)
|
||||
return false;
|
||||
|
||||
return this->matched_candidate->toplevel_var->data.assigned;
|
||||
}
|
||||
|
||||
bool is_varying() const
|
||||
{
|
||||
return !this->next_buffer_separator && !this->skip_components;
|
||||
|
Reference in New Issue
Block a user