mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
gallivm: Fix max const buffer count.
llvmpipe was reporting 32 max const buffers, while sizing its arrays to 16 according to gallivm's #define. Fixes:1d35f77228("gallivm,llvmpipe,draw: Support multiple constant buffers.") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7695> (cherry picked from commitd90107a200)
This commit is contained in:
parent
8258c5867a
commit
faeaa8171e
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"description": "gallivm: Fix max const buffer count.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "1d35f77228ad540a551a8e09e062b764a6e31f5e"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ gallivm_get_shader_param(enum pipe_shader_cap param)
|
|||
case PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE:
|
||||
return LP_MAX_TGSI_CONST_BUFFER_SIZE;
|
||||
case PIPE_SHADER_CAP_MAX_CONST_BUFFERS:
|
||||
return PIPE_MAX_CONSTANT_BUFFERS;
|
||||
return LP_MAX_TGSI_CONST_BUFFERS;
|
||||
case PIPE_SHADER_CAP_MAX_TEMPS:
|
||||
return LP_MAX_TGSI_TEMPS;
|
||||
case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue