diff options
author | Jonathan Marek <[email protected]> | 2019-09-26 00:30:22 -0400 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-09-26 17:18:13 -0400 |
commit | ee4fa15a86f0bb4d80261f149fa51ccbaddb6cb1 (patch) | |
tree | 4f7db1586ca2fc0fec81d2ff04561ad002d1255b /src/mapi/mapi_tmp.h | |
parent | b54f9e9e9e0c2c34fd2e9d3e939320da12a48cb9 (diff) |
turnip: use nir_opt_copy_prop_vars
Avoids getting a "load_output" in a case like this:
gl_Position = ubuf.MVP * ubuf.position[gl_VertexIndex];
frag_pos = gl_Position.xyz;
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mapi/mapi_tmp.h')
0 files changed, 0 insertions, 0 deletions