summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_flatten_nested_if_blocks.cpp
diff options
context:
space:
mode:
authorKrzesimir Nowak <[email protected]>2015-09-10 14:15:54 +0200
committerBrian Paul <[email protected]>2015-09-10 09:45:14 -0600
commitb9bc6c42c96773a5784897c55da5387045c0e9b3 (patch)
treec4c35a806e924f525a0cfc7e122cdceb09d263a0 /src/glsl/opt_flatten_nested_if_blocks.cpp
parent16084cd2cf055849933e19047e604d384da81f8e (diff)
softpipe: Put mip_filter_func inside a struct
Putting this function pointer into a struct enables grouping of several related functions in a single place. For now it is just a single function, but the struct will be later extended with a mip_level_func for returning relative mip level. v2: - renamed sp_mip struct to sp_filter_funcs - renamed sp_filter_funcs instances from mip_foo to funcs_foo - splitted too long lines - sp_sampler now holds a pointer to sp_filter_funcs instead of an instance of it - some const fixes Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/opt_flatten_nested_if_blocks.cpp')
0 files changed, 0 insertions, 0 deletions