[Mesa-dev] [PATCH 1/3] draw: draw_get_shader_param should return correct values WRT llvm

Marek Olšák maraeo at gmail.com
Wed Jul 4 11:15:08 PDT 2012


On Wed, Jul 4, 2012 at 7:41 PM, Olivier Galibert <galibert at pobox.com> wrote:
> On Wed, Jul 04, 2012 at 01:59:44PM +0200, Marek Ol??ák wrote:
>> Please disregard patch 1 and 2. It wouldn't work.
>
> What's wrong with them?

The way I understand it, Integer uniforms are converted to floats for
a whole program object. This series assumes the conversion is done for
each shader stage separately, which isn't true. It gets more
complicated if uniforms are shared between different shader stages.

Marek


More information about the mesa-dev mailing list