diff options
author | Timothy Arceri <[email protected]> | 2018-01-14 20:54:20 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-01-31 09:14:07 +1100 |
commit | d185190222cea1def252b15c1fca3676b50d76b4 (patch) | |
tree | ff37e983d0ab2132faf3672421c727c520afe4b1 /src/gallium/drivers/radeonsi/si_shader.c | |
parent | 97058168a4bcf7d0dddbb13af02972a0edbcefd4 (diff) |
ac/radeonsi: add lookup_interp_param and load_sample_position to the abi
This will enable the interpolateAt builtins to work on the radeonsi
nir backend.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index dfec070d33e..76215b318a0 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6028,6 +6028,8 @@ static bool si_compile_tgsi_main(struct si_shader_context *ctx, ctx->load_input = declare_input_fs; ctx->abi.emit_outputs = si_llvm_return_fs_outputs; bld_base->emit_epilogue = si_tgsi_emit_epilogue; + ctx->abi.lookup_interp_param = si_nir_lookup_interp_param; + ctx->abi.load_sample_position = load_sample_position; break; case PIPE_SHADER_COMPUTE: break; |