-
Neil Roberts authored
This extracts the part of v3d_create_sampler_view that creates and fills in the buffer for the TEXTURE_SHADER_STATE record into a helper function. This will be used in a later patch to update the record when the information changes. v2: Also put the part that creates the buffer into the helper function so that it won’t override the contents of an inflight buffer. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!6914>
e2f037e9