commit | 3e39abf6a033cccbf2bbf85bf23785b7367cdcef | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Thu Aug 03 10:54:18 2017 -0600 |
committer | Brian Paul <brianp@vmware.com> | Tue Oct 03 12:07:05 2017 -0600 |
tree | b333516f6699bfc9b4c180738f0022a9cca24ca1 | |
parent | 3c71c42827766f66c300cf1f32679c33c54950c8 [diff] |
svga: if we get nr_samples==1, store nr_samples=0 We need to be more careful not to treat nr_samples=1 as an msaa surface. This patch prevents us from errantly declaring an MSAA shader resource with 1 sample. No Piglit regressions, fixes the above-described errors. Reviewed-by: Neha Bhende <bhenden@vmware.com>