diff options
author | Michel Dänzer <[email protected]> | 2014-10-06 17:05:38 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-10-07 12:07:13 +0900 |
commit | be0a994fb8689131bf6a717c1e6fa5a42c3d4657 (patch) | |
tree | 0fc9e4341edd3a3508644bf4f3284a9346f2fa8a /src/gallium/drivers/radeonsi/si_state.h | |
parent | f358462640beb7660b9ce2a31d5367fc33421ee1 (diff) |
radeonsi: Use dummy pixel shader if compilation of the real shader failed
Instead of crashing.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79155#c5
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 7b6de6b663b..f70bddfb8ec 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -257,6 +257,7 @@ boolean si_is_format_supported(struct pipe_screen *screen, unsigned usage); int si_shader_select(struct pipe_context *ctx, struct si_shader_selector *sel); +void si_make_dummy_ps(struct si_context *sctx); void si_init_state_functions(struct si_context *sctx); void si_init_config(struct si_context *sctx); unsigned cik_bank_wh(unsigned bankwh); |