diff options
author | Timothy Arceri <[email protected]> | 2018-02-26 22:11:53 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-28 09:23:49 +1100 |
commit | 8de6f7970702ec69143c4e256bbeab64fe7d79c0 (patch) | |
tree | 8cf7b284764d88da35b0133cb60ee9e5194069d8 /src/amd/common/ac_shader_abi.h | |
parent | 7f914734146a3008dc0e5b185f7ccab44a803bc9 (diff) |
ac/radeonsi: add load_base_vertex() to the abi
Fixes the following piglit tests:
./bin/arb_shader_draw_parameters-basevertex basevertex -auto -fbo
./bin/arb_shader_draw_parameters-basevertex basevertex-baseinstance -auto -fbo
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r-- | src/amd/common/ac_shader_abi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 10d41ef9971..09fe32c1363 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -182,6 +182,8 @@ struct ac_shader_abi { LLVMValueRef (*load_sample_mask_in)(struct ac_shader_abi *abi); + LLVMValueRef (*load_base_vertex)(struct ac_shader_abi *abi); + /* Whether to clamp the shadow reference value to [0,1]on VI. Radeonsi currently * uses it due to promoting D16 to D32, but radv needs it off. */ bool clamp_shadow_reference; |