intel/fs: restrict max push length on older GPUs to a smaller amount
authorDave Airlie <airlied@redhat.com>
Wed, 28 Jul 2021 03:51:38 +0000 (13:51 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 30 Jul 2021 05:17:21 +0000 (15:17 +1000)
commitc8783001c7350960a63bff0dc93a4e744c22b911
tree9e1c145c2362f90c503e80bfcee663065b2bded7
parentd9a4a0aebd7bef166b5a89ce398e91a371dd0d0d
intel/fs: restrict max push length on older GPUs to a smaller amount

Fixes crash in dEQP-GLES2.functional.uniform_api.random.79

Cc: mesa-stable
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12093>
src/intel/compiler/brw_fs.cpp