radeonsi: do not pass the return type to buffer_load_const
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 3 Aug 2016 10:52:28 +0000 (12:52 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 8 Aug 2016 10:51:26 +0000 (12:51 +0200)
commit3e4c5693a1f498411bfd280c4123f9c93ba19e3a
tree0b7de0d6f619babacd5b7aced0be0f6d93da6157
parentbd1bd03268285bf562338ba3b0d6661c6319c698
radeonsi: do not pass the return type to buffer_load_const

Overriding it is not allowed anyway, and actually lead to a crash when polygon
stippling was used with monolithic shaders.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c