diff options
author | Rob Clark <[email protected]> | 2016-06-22 14:45:25 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-02 08:58:50 -0400 |
commit | da39ac9c5126825418c979989ea7e017554a0aaa (patch) | |
tree | 46d380a6b2813d832e981b399ab3338c5bedcce5 /src/gallium/drivers/freedreno/ir3 | |
parent | 2081c1ecc00682302faa9555cc0551fc14a338f0 (diff) |
freedreno/ir3: support non-user_buffer consts
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 04c99d1db02..5c7ad84c250 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -181,7 +181,7 @@ compile_init(struct ir3_compiler *compiler, nir_print_shader(ctx->s, stdout); } - so->first_driver_param = so->first_immediate = ctx->s->num_uniforms; + so->first_driver_param = so->first_immediate = align(ctx->s->num_uniforms, 4); /* Layout of constant registers: * |