mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
v3dv/pipeline: handle GL_SHADER_STATE_RECORD changed size on v71
It is likely that we would need more changes, as this packet changed, but this is enough to get basic tests running. Any additional support will be handled with new commits. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
parent
5750926d0e
commit
9c92a758cc
1 changed files with 1 additions and 4 deletions
|
|
@ -360,7 +360,7 @@ v3dX(pipeline_pack_state)(struct v3dv_pipeline *pipeline,
|
|||
static void
|
||||
pack_shader_state_record(struct v3dv_pipeline *pipeline)
|
||||
{
|
||||
assert(sizeof(pipeline->shader_state_record) ==
|
||||
assert(sizeof(pipeline->shader_state_record) >=
|
||||
cl_packet_length(GL_SHADER_STATE_RECORD));
|
||||
|
||||
struct v3d_fs_prog_data *prog_data_fs =
|
||||
|
|
@ -453,9 +453,6 @@ pack_shader_state_record(struct v3dv_pipeline *pipeline)
|
|||
shader.vertex_shader_has_separate_input_and_output_vpm_blocks =
|
||||
prog_data_vs->separate_segments;
|
||||
#endif
|
||||
#if V3D_VERSION >= 71
|
||||
unreachable("HW generation 71 not supported yet.");
|
||||
#endif
|
||||
|
||||
shader.coordinate_shader_input_vpm_segment_size =
|
||||
prog_data_vs_bin->separate_segments ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue