mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
zink: disable GPL when sample shading is in use
this seems impossible to handle as near as I can tell Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18671>
This commit is contained in:
parent
ca04f968d9
commit
96a3136ddd
1 changed files with 6 additions and 1 deletions
|
|
@ -224,7 +224,12 @@ zink_get_gfx_pipeline(struct zink_context *ctx,
|
|||
VkPipeline pipeline = VK_NULL_HANDLE;
|
||||
if (HAVE_LIB &&
|
||||
/* TODO: if there's ever a dynamic render extension with input attachments */
|
||||
!ctx->gfx_pipeline_state.render_pass) {
|
||||
!ctx->gfx_pipeline_state.render_pass &&
|
||||
/* TODO: is sample shading even possible to handle with GPL? */
|
||||
!ctx->gfx_stages[MESA_SHADER_FRAGMENT]->nir->info.fs.uses_sample_shading &&
|
||||
!zink_get_fs_key(ctx)->fbfetch_ms &&
|
||||
!ctx->gfx_pipeline_state.force_persample_interp &&
|
||||
!ctx->gfx_pipeline_state.min_samples) {
|
||||
ctx->gfx_pipeline_state.gkey = ctx->gfx_pipeline_state.rast_state;
|
||||
struct set_entry *he = NULL;
|
||||
/* TODO: this will eventually be pre-populated by async shader compile */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue