diff options
author | Brian Paul <[email protected]> | 2018-05-17 19:57:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-05-18 09:09:41 -0600 |
commit | 42aee8f4f68d9fd3ece5ece57f23f63a60e7d1fa (patch) | |
tree | e2dba54712e91e11b80a679f2a481016e3735874 /src/gallium/drivers/llvmpipe/lp_public.h | |
parent | 03c4816093b5ca1f72436fdb9576893690cfdd0e (diff) |
llvmpipe: fix check for a no-op shader
The tgsi_info.num_tokens fix broke llvmpipe's detection of no-op shaders.
Fix the code to check for num_instructions <= 1 instead.
Fixes: 8fde9429c36b75 ("tgsi: fix incorrect tgsi_shader_info::num_tokens
computation")
Tested-by: Roland Scheidegger <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_public.h')
0 files changed, 0 insertions, 0 deletions