mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
pan/bi: Remove check for first_ubo_is_default_ubo
It won't be set for OpenCL. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9105>
This commit is contained in:
parent
cd21f0e1c5
commit
71f849a292
1 changed files with 0 additions and 5 deletions
|
|
@ -542,11 +542,6 @@ bi_emit_store_vary(bi_builder *b, nir_intrinsic_instr *instr)
|
|||
static void
|
||||
bi_emit_load_ubo(bi_builder *b, nir_intrinsic_instr *instr)
|
||||
{
|
||||
/* nir_lower_uniforms_to_ubo() should have been called, reserving
|
||||
* UBO #0 for uniforms even if the shaders doesn't have uniforms.
|
||||
*/
|
||||
assert(b->shader->nir->info.first_ubo_is_default_ubo);
|
||||
|
||||
nir_src *offset = nir_get_io_offset_src(instr);
|
||||
|
||||
bool offset_is_const = nir_src_is_const(*offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue