intel: Use devinfo genx10 field
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9329>
This commit is contained in:
@@ -1068,7 +1068,7 @@ anv_cmd_buffer_cs_push_constants(struct anv_cmd_buffer *cmd_buffer)
|
||||
const unsigned aligned_total_push_constants_size =
|
||||
ALIGN(total_push_constants_size, push_constant_alignment);
|
||||
struct anv_state state;
|
||||
if (devinfo->gen > 12 || gen_device_info_is_12hp(devinfo)) {
|
||||
if (devinfo->genx10 >= 125) {
|
||||
state = anv_state_stream_alloc(&cmd_buffer->general_state_stream,
|
||||
aligned_total_push_constants_size,
|
||||
push_constant_alignment);
|
||||
|
Reference in New Issue
Block a user