[Freedreno] [PATCH 0/7] Enable pure integer texture sampling and rendering

Ilia Mirkin imirkin at alum.mit.edu
Sat Nov 29 19:06:15 PST 2014


This goes through and implements a bunch of the things needed to have actually
working integer texture sampling and rendering. With this, the piglit tests
largely pass.

This patch set has the unfortunate side-effect of exposing EXT_texture_integer
despite the fact that neither EXT_gpu_shader4 nor NV_gpu_shader4 are exposed
by mesa (nor GL3/GLSL130). I'll send a separate patch for mesa to only expose
this when the surrounding API can actually make use of it.

Ilia Mirkin (7):
  freedreno/a3xx: add format to emit info, use to set sint/uint flags
  freedreno/a3xx: remove blend clamp enables from gmem/clears
  freedreno/a3xx: disable blending for integer formats
  freedreno/a3xx: don't use half precision shaders for int/float32
  freedreno: allow each generation to hook into sampler view setting
  freedreno/a3xx: enable sampling from integer textures
  freedreno/a3xx: add missing integer formats and enable rendering

 src/gallium/drivers/freedreno/a2xx/fd2_texture.c  |  1 +
 src/gallium/drivers/freedreno/a3xx/fd3_context.h  |  3 ++
 src/gallium/drivers/freedreno/a3xx/fd3_draw.c     | 23 ++++++++++-----
 src/gallium/drivers/freedreno/a3xx/fd3_emit.c     | 11 +++++++-
 src/gallium/drivers/freedreno/a3xx/fd3_emit.h     |  1 +
 src/gallium/drivers/freedreno/a3xx/fd3_format.c   | 33 ++++++++++++++++++++--
 src/gallium/drivers/freedreno/a3xx/fd3_format.h   | 18 ++++++++++++
 src/gallium/drivers/freedreno/a3xx/fd3_gmem.c     | 25 +++++++++--------
 src/gallium/drivers/freedreno/a3xx/fd3_program.c  |  4 ++-
 src/gallium/drivers/freedreno/a3xx/fd3_screen.c   |  5 +++-
 src/gallium/drivers/freedreno/a3xx/fd3_texture.c  | 34 +++++++++++++++++++++++
 src/gallium/drivers/freedreno/a4xx/fd4_texture.c  |  1 +
 src/gallium/drivers/freedreno/freedreno_texture.c |  4 +--
 src/gallium/drivers/freedreno/freedreno_texture.h |  4 +++
 src/gallium/drivers/freedreno/ir3/ir3_compiler.c  |  8 +++++-
 src/gallium/drivers/freedreno/ir3/ir3_shader.h    |  3 ++
 16 files changed, 150 insertions(+), 28 deletions(-)

-- 
2.0.4



More information about the Freedreno mailing list