diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-15 16:41:53 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-19 08:32:17 -0700 |
commit | edc8e41566ed7c4e9f8931db57328cea7a7104b3 (patch) | |
tree | 5754b9891d7b81d4347cc2f89ac329c80c7b3814 /src/mesa/vbo | |
parent | 2bcb3d922600b86818dc03110538460a92fbab6f (diff) |
pan/midgard: Use type-appropriate swizzle for texture coordinate
The texture coordinate for a 2D texture could be a vec2 or a vec3,
depending if it's an array texture or not. If it's vec2 (non-array
texture), we should not reference the z component; otherwise, liveness
analysis will get very confused when z is never written.
v2: Fix typo (Ilia).
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/mesa/vbo')
0 files changed, 0 insertions, 0 deletions