st/mesa: use correct TGSI texture target in drawpix fragment shader

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
Brian Paul
2016-03-18 12:20:10 -06:00
parent 83b5b3d66e
commit eda81fa357
3 changed files with 11 additions and 4 deletions

View File

@@ -46,6 +46,6 @@ st_get_drawpix_shader(const struct tgsi_token *tokens, bool use_texcoord,
bool scale_and_bias, unsigned scale_const,
unsigned bias_const, bool pixel_maps,
unsigned drawpix_sampler, unsigned pixelmap_sampler,
unsigned texcoord_const);
unsigned texcoord_const, unsigned tex_target);
#endif /* ST_CB_DRAWPIXELS_H */