projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db8867
)
intel/vec4: Add some asserts to move_push_to_pull
author
Jason Ekstrand
<jason@jlekstrand.net>
Mon, 3 May 2021 20:34:41 +0000
(15:34 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 19 May 2021 14:38:13 +0000
(14:38 +0000)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10571>
src/intel/compiler/brw_vec4.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_vec4.cpp
b/src/intel/compiler/brw_vec4.cpp
index
0ce9aef
..
8cf74f5
100644
(file)
--- a/
src/intel/compiler/brw_vec4.cpp
+++ b/
src/intel/compiler/brw_vec4.cpp
@@
-929,6
+929,9
@@
vec4_visitor::move_push_constants_to_pull_constants()
if (this->uniforms * 4 <= max_uniform_components)
return;
+ assert(compiler->supports_pull_constants);
+ assert(compiler->compact_params);
+
/* Make some sort of choice as to which uniforms get sent to pull
* constants. We could potentially do something clever here like
* look for the most infrequently used uniform vec4s, but leave