panfrost: Add panfrost_compile_inputs->no_idvs option

panvk will want IDVS support eventually, but not right now. Allow the
driver to opt out of IDVS in the mean time.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14154>
This commit is contained in:
Alyssa Rosenzweig 2021-12-13 13:25:21 -05:00 committed by Marge Bot
parent 2ff3c4a636
commit 62d46c7ee6
2 changed files with 2 additions and 0 deletions

View file

@ -158,6 +158,7 @@ struct panfrost_compile_inputs {
} blend;
unsigned sysval_ubo;
bool shaderdb;
bool no_idvs;
bool no_ubo_to_push;
enum pipe_format rt_formats[8];

View file

@ -469,6 +469,7 @@ panvk_per_arch(shader_create)(struct panvk_device *dev,
struct panfrost_compile_inputs inputs = {
.gpu_id = pdev->gpu_id,
.no_ubo_to_push = true,
.no_idvs = true, /* TODO */
.sysval_ubo = sysval_ubo,
};