summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-04-23 14:36:16 +0300
committerFrancisco Jerez <[email protected]>2016-12-14 16:50:26 -0800
commit3c78d31374422b028b19afa5799689c404a5b73e (patch)
tree88a687af1c7ad292a05d45f5e6f2f17c169c509e /src/mesa/drivers/dri/i965/brw_fs.cpp
parent591e14ec08b13e8d50636feb1afa578257175b9d (diff)
i965: Let the caller of brw_set_dp_write/read_message control the target cache.
brw_set_dp_read_message already had a target_cache argument, but its interpretation was rather convoluted (on Gen6 the render cache was used if the caller asked for it, otherwise it was ignored using the sampler cache instead), and the constant cache wasn't representable at all. brw_set_dp_write_message used the data cache on Gen7+ except for RENDER_TARGET_WRITE messages, in which case it would use the render cache. On Gen6 the render cache was always used. Instead of the above, provide the shared unit SFID that the caller expects will be used. Makes no functional changes. v3: Non-trivial rebase. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
0 files changed, 0 insertions, 0 deletions