summaryrefslogtreecommitdiffstats
path: root/docs/relnotes/7.2.html
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-05-14 18:36:57 -0700
committerIan Romanick <[email protected]>2014-09-30 13:34:42 -0700
commit8afe6efa218f87158c35857fad41926b404a2cbd (patch)
tree610c0f091cbeb8185ad9faf2e78f6bfed020501a /docs/relnotes/7.2.html
parentab51179f1fe8f365cc5357f498e4ce690c28bd3a (diff)
glsl: Store ir_variable::depth_layout using 3 bits
warn_extension_index was moved to improve packing. Valgrind massif results for a trimmed apitrace of dota2: n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) Before (32-bit): 73 40,580,476,304 68,488,400 62,796,151 5,692,249 0 After (32-bit): 73 40,575,751,558 68,116,528 62,618,607 5,497,921 0 Before (64-bit): 71 37,124,890,613 95,889,584 88,089,008 7,800,576 0 After (64-bit): 62 37,123,578,526 95,150,784 87,711,304 7,439,480 0 A real savings of 173KiB on 32-bit and 368KiB on 64-bit. v2: Use the enum name with the bit-field and remove the extra casts. Suggested by Ken. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> [v1] Reviewed-by: Tapani Pälli <[email protected]> [v1]
Diffstat (limited to 'docs/relnotes/7.2.html')
0 files changed, 0 insertions, 0 deletions