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:
parent
8b791a5133
commit
7fecf7ad9e
|
@ -460,12 +460,6 @@ lower_load_push_constant(nir_builder *b, nir_intrinsic_instr *instr,
|
||||||
struct v3dv_pipeline *pipeline)
|
struct v3dv_pipeline *pipeline)
|
||||||
{
|
{
|
||||||
assert(instr->intrinsic == nir_intrinsic_load_push_constant);
|
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;
|
instr->intrinsic = nir_intrinsic_load_uniform;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue