projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c67db6
)
st/nine: Enable computing const_ranges
author
Axel Davy
<davyaxel0@gmail.com>
Mon, 21 Jan 2019 21:59:24 +0000
(22:59 +0100)
committer
Axel Davy
<davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:52 +0000
(19:18 +0200)
All the pieces for constant compact are ready,
thus enable the path.
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/nine_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index 130d63b61dd4944e80c8b261065af170594793b6..050a32d332742eb01ec2e4c47f55c378f7cbcb3e 100644
(file)
--- a/
src/gallium/state_trackers/nine/nine_shader.c
+++ b/
src/gallium/state_trackers/nine/nine_shader.c
@@
-3837,7
+3837,7
@@
nine_translate_shader(struct NineDevice9 *device, struct nine_shader_info *info,
}
/* Recompile after compacting constant slots if possible */
- if (!tx->indirect_const_access && !info->swvp_on && tx->num_slots > 0
&& 0
) {
+ if (!tx->indirect_const_access && !info->swvp_on && tx->num_slots > 0) {
unsigned *slot_map;
unsigned c;
int i, j, num_ranges, prev;