mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
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:
parent
2ff3c4a636
commit
62d46c7ee6
2 changed files with 2 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ struct panfrost_compile_inputs {
|
||||||
} blend;
|
} blend;
|
||||||
unsigned sysval_ubo;
|
unsigned sysval_ubo;
|
||||||
bool shaderdb;
|
bool shaderdb;
|
||||||
|
bool no_idvs;
|
||||||
bool no_ubo_to_push;
|
bool no_ubo_to_push;
|
||||||
|
|
||||||
enum pipe_format rt_formats[8];
|
enum pipe_format rt_formats[8];
|
||||||
|
|
|
||||||
|
|
@ -469,6 +469,7 @@ panvk_per_arch(shader_create)(struct panvk_device *dev,
|
||||||
struct panfrost_compile_inputs inputs = {
|
struct panfrost_compile_inputs inputs = {
|
||||||
.gpu_id = pdev->gpu_id,
|
.gpu_id = pdev->gpu_id,
|
||||||
.no_ubo_to_push = true,
|
.no_ubo_to_push = true,
|
||||||
|
.no_idvs = true, /* TODO */
|
||||||
.sysval_ubo = sysval_ubo,
|
.sysval_ubo = sysval_ubo,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue