pvr: Add static consts to hard coding infra.
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17681>
This commit is contained in:
parent
a278f7d21e
commit
c70924b20e
|
@ -121,6 +121,9 @@ static const struct pvr_hard_coding_data {
|
|||
|
||||
.build_info = {
|
||||
.ubo_data = { 0 },
|
||||
.compile_time_consts_data = {
|
||||
.static_consts = { 0 },
|
||||
},
|
||||
|
||||
.local_invocation_regs = { 0, 1 },
|
||||
.work_group_regs = { 0, 1, 2 },
|
||||
|
|
|
@ -53,6 +53,7 @@ struct pvr_explicit_constant_usage {
|
|||
|
||||
struct pvr_hard_code_compute_build_info {
|
||||
struct rogue_ubo_data ubo_data;
|
||||
struct rogue_compile_time_consts_data compile_time_consts_data;
|
||||
|
||||
uint32_t local_invocation_regs[2];
|
||||
uint32_t work_group_regs[3];
|
||||
|
|
|
@ -1085,6 +1085,7 @@ static VkResult pvr_compute_pipeline_compile(
|
|||
return result;
|
||||
|
||||
ubo_data = build_info.ubo_data;
|
||||
compile_time_consts_data = build_info.compile_time_consts_data;
|
||||
|
||||
/* We make sure that the compiler's unused reg value is compatible with
|
||||
* the pds api.
|
||||
|
|
Loading…
Reference in New Issue