summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_api.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-04-17 10:12:48 -0700
committerEric Anholt <[email protected]>2019-04-19 08:45:14 -0700
commit38c75aff4cb07a68d8956e0f96f3167cfe3fa964 (patch)
tree67d6bba6a45246dbe7f45cdbc9e46f263eac1021 /src/mesa/vbo/vbo_save_api.c
parent9ac5ec2f90f8b6b2c0e67039b1ae7590374be872 (diff)
nir: Use the nir_builder _imm helpers in setting up deref offsets.
When looking at the dEQP nested_struct_array_dynamic_index_fragment code after lowering, I was horrified at the amount of adding and multiplying by 0 we were doing. The builder _imm helpers handle that for you so that the following optimization passes have less work to do. Plus, it's easier to read. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
0 files changed, 0 insertions, 0 deletions