mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
llvmpipe: fix DRAW_USE_LLVM=0
this only supports 16 UBOs fixes #9346 cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28335>
This commit is contained in:
parent
5bb72e05d1
commit
356d88d1e8
1 changed files with 5 additions and 0 deletions
|
|
@ -410,6 +410,11 @@ llvmpipe_get_shader_param(struct pipe_screen *screen,
|
|||
return PIPE_MAX_SHADER_SAMPLER_VIEWS;
|
||||
else
|
||||
return 0;
|
||||
case PIPE_SHADER_CAP_MAX_CONST_BUFFERS:
|
||||
if (debug_get_bool_option("DRAW_USE_LLVM", false))
|
||||
return LP_MAX_TGSI_CONST_BUFFERS;
|
||||
else
|
||||
return draw_get_shader_param(shader, param);
|
||||
default:
|
||||
return draw_get_shader_param(shader, param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue