intel/vec4: Add some asserts to move_push_to_pull
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10571>
This commit is contained in:

committed by
Marge Bot

parent
2db8867943
commit
3d1ac996d0
@@ -929,6 +929,9 @@ vec4_visitor::move_push_constants_to_pull_constants()
|
|||||||
if (this->uniforms * 4 <= max_uniform_components)
|
if (this->uniforms * 4 <= max_uniform_components)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
assert(compiler->supports_pull_constants);
|
||||||
|
assert(compiler->compact_params);
|
||||||
|
|
||||||
/* Make some sort of choice as to which uniforms get sent to pull
|
/* Make some sort of choice as to which uniforms get sent to pull
|
||||||
* constants. We could potentially do something clever here like
|
* constants. We could potentially do something clever here like
|
||||||
* look for the most infrequently used uniform vec4s, but leave
|
* look for the most infrequently used uniform vec4s, but leave
|
||||||
|
Reference in New Issue
Block a user