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/auxiliary/util/u_tests.c | |
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/auxiliary/util/u_tests.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_tests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c index fe549723c33..6a489d63c09 100644 --- a/src/gallium/auxiliary/util/u_tests.c +++ b/src/gallium/auxiliary/util/u_tests.c @@ -373,7 +373,8 @@ null_sampler_view(struct pipe_context *ctx, unsigned tgsi_tex_target) /* Fragment shader. */ fs = util_make_fragment_tex_shader(ctx, tgsi_tex_target, - TGSI_INTERPOLATE_LINEAR); + TGSI_INTERPOLATE_LINEAR, + TGSI_RETURN_TYPE_FLOAT); cso_set_fragment_shader_handle(cso, fs); /* Vertex shader. */ |