diff options
author | Samuel Pitoiset <[email protected]> | 2018-01-29 17:19:00 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-02-06 23:08:39 +0100 |
commit | e68562b94b79f5ce17f5804f8d7308faf57bd3f0 (patch) | |
tree | b3900a4674aa485ed0605c3ab96093149f2ba5f0 /src/mesa | |
parent | e2ea9e11910a10ae10d6491d913ab1d57f97a0d4 (diff) |
nir: add nir_opt_shrink_load pass
This is a very simple pass that just shrinks load_push_constant
intrinsics when some components are unused. For now, it can just
shrink vec4 to vec3, vec3 to vec2 and so on.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions