OSDN Git Service

freedreno/a6xx: small texture emit cleanup
authorRob Clark <robdclark@chromium.org>
Sun, 28 Apr 2019 16:23:29 +0000 (09:23 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 30 Apr 2019 00:01:01 +0000 (17:01 -0700)
commit8506ebfb951f88654a1ffda7d2c24a8004ca50b9
tree20c5fc541e7c8ed26b6af7449a6e5f41f91fa994
parentda327afb2a4a9b8e1c047ff12aebbd75d71b1b64
freedreno/a6xx: small texture emit cleanup

Prep work for fb_read (blend_equation_advanced)

Switch to using 'enum pipe_shader_type' everywhere, and (optional, in
non-cache / slowpath case) pass ctx instead of image/ssbo state.  In the
fb_read case we also need to access the framebuffer state, so having
the ctx simplifies things.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h
src/gallium/drivers/freedreno/a6xx/fd6_texture.c
src/gallium/drivers/freedreno/a6xx/fd6_texture.h