diff options
author | Rob Clark <[email protected]> | 2015-06-10 20:02:55 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-06-21 07:52:16 -0400 |
commit | 93379748f7e4f5ab22040cdb7a4cccdcfb7954c1 (patch) | |
tree | 3f8298343396b903ccba73b0b270d0e091ee6d21 /src/gallium/tests | |
parent | e53699298640df7d7659a8ce88b68e43918b600c (diff) |
util/blitter (and friends): generate appropriate SVIEW decls
Some hardware needs to know the sampler type. Update the blit related
shaders to include SVIEW decl.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/trivial/quad-tex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c index abecedbd594..daae577ec4b 100644 --- a/src/gallium/tests/trivial/quad-tex.c +++ b/src/gallium/tests/trivial/quad-tex.c @@ -270,7 +270,9 @@ static void init_prog(struct program *p) } /* fragment shader */ - p->fs = util_make_fragment_tex_shader(p->pipe, TGSI_TEXTURE_2D, TGSI_INTERPOLATE_LINEAR); + p->fs = util_make_fragment_tex_shader(p->pipe, TGSI_TEXTURE_2D, + TGSI_INTERPOLATE_LINEAR, + TGSI_RETURN_TYPE_FLOAT); } static void close_prog(struct program *p) |