summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_nir.h
diff options
context:
space:
mode:
authorDanylo Piliaiev <[email protected]>2019-09-24 14:12:39 +0300
committerDanylo Piliaiev <[email protected]>2019-09-25 18:24:01 +0000
commit2d8f77db839cb3a83f0b1575a028d5aa4258c322 (patch)
tree50f0b9b63b8348dae84b541d268f7cf36a902bfd /src/intel/vulkan/anv_nir.h
parent60861388e7a0dff46cd4c23cebd80164412fef51 (diff)
st/nine: Ignore D3DSIO_RET if it is the last instruction in a shader
RET as a last instruction could be safely ignored. Remove it to prevent crashes/warnings in case underlying driver doesn't implement arbitrary returns. A better way would be to remove the RET after the whole shader is parsed which will handle a possible case when the last RET is followed by a comment. CC: <[email protected]> Signed-off-by: Danylo Piliaiev <[email protected]> Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_nir.h')
0 files changed, 0 insertions, 0 deletions