diff options
author | Samuel Pitoiset <[email protected]> | 2018-09-10 21:59:31 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-22 10:42:56 -0600 |
commit | b2bbd978d0b1c85919c6f3b5f631b3c6cbaaaf8a (patch) | |
tree | 258f9f53e9c0f392ea77589090ce310b50e41ccc /docs | |
parent | 9f4e0aa7c1f9d71e6716295a1ee5b78e70ed6f37 (diff) |
nir: fix lowering arrays to elements for XFB outputs
If we have a transform feedback output like:
float[2] x2_out (VARYING_SLOT_VAR1.x, 0, 0)
which is lowered by nir_lower_io_arrays_to_elements to,
float x2_out (VARYING_SLOT_VAR1.x, 0, 0)
float x2_out@5 (VARYING_SLOT_VAR2.x, 0, 0)
We have to update the destination offset to avoid overwriting
the same value.
v2 (Jason Ekstrand):
- Compute the correct offsets for arrays of vectors and/or doubles
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions