diff options
author | Jason Ekstrand <[email protected]> | 2016-09-15 21:02:37 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-10-03 16:17:12 -0700 |
commit | 7697b4b98b155c818811709becdb408772371538 (patch) | |
tree | 61198eb2847f5e588b9e3ca0b553c4360a95e7fc /src/compiler/spirv/vtn_cfg.c | |
parent | 0176c6a69236466a7f4bd1cb41fc09d88a5b4778 (diff) |
nir: Add a nop intrinsic
This intrinsic has no destination, no sources, no variables, and can be
eliminated. In other words, it does nothing and will always get deleted by
dead code elimination. However, it does provide a quick-and-easy way to
temporarily tag a particular location in a NIR shader.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_cfg.c')
0 files changed, 0 insertions, 0 deletions