v3dv: remove incorrect assert

There is no reason why we can't have a non-zero base offset in a push
constant load.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga 2020-04-28 13:42:46 +02:00 committed by Marge Bot
parent 8b791a5133
commit 7fecf7ad9e
1 changed files with 0 additions and 6 deletions

View File

@ -460,12 +460,6 @@ lower_load_push_constant(nir_builder *b, nir_intrinsic_instr *instr,
struct v3dv_pipeline *pipeline)
{
assert(instr->intrinsic == nir_intrinsic_load_push_constant);
/* FIXME: next assert it not something that should happen in general, just
* to catch any test example under that case and deal with it
*/
assert(nir_intrinsic_base(instr) == 0);
instr->intrinsic = nir_intrinsic_load_uniform;
}