FYI, I found the patch which compiles some shader variants in glLinkProgram:
http://cgit.freedesktop.org/~mareko/mesa/commit/?h=precompileid=8dc586297e4902dfc14cf8001b8202db4fdc9447
Marek
On Tue, Jan 21, 2014 at 12:56 AM, Marek Olšák mar...@gmail.com wrote:
It was pretty simple IIRC. You just
Cool. Do you think something like this is check-in-able behind a
ST_PRECOMPILE=1 env var (or something that fits well into the current
env var scheme, dunno what it would be)?
On Fri, Feb 7, 2014 at 12:46 PM, Marek Olšák mar...@gmail.com wrote:
FYI, I found the patch which compiles some shader
On 01/19/2014 12:16 AM, Ilia Mirkin wrote:
Hi,
My goal is to extend shader-db to be able to be used with nouveau, as
I'm about to attempt a few compiler optimizations. But I'm having
trouble with the very first step -- getting the driver to spit out the
generated code. I've added logic to
Brian Paul bri...@vmware.com writes:
On 01/19/2014 12:16 AM, Ilia Mirkin wrote:
Hi,
My goal is to extend shader-db to be able to be used with nouveau, as
I'm about to attempt a few compiler optimizations. But I'm having
trouble with the very first step -- getting the driver to spit out the
I used to have a patch which precompiles some of the commonly used
shader variants, but I seem to have deleted it because Wine also
loaded shaders on demand and compiling more shader variants than
necessary could only make it worse.
Marek
On Sun, Jan 19, 2014 at 9:16 AM, Ilia Mirkin
On Mon, Jan 20, 2014 at 10:23 AM, Brian Paul bri...@vmware.com wrote:
I'm having trouble figuring out how to bypass this and make it call
update_vp/fp/gp which appear like they'll actually call
pipe-create_fs_state/etc. I see st_link_shader getting called, as
expected, which creates the
It was pretty simple IIRC. You just need to call st_get_fp(vp)_variant
to create a pipe shader. I think st_program_string_notify is the right
place.
Marek
On Mon, Jan 20, 2014 at 7:23 PM, Ilia Mirkin imir...@alum.mit.edu wrote:
On Mon, Jan 20, 2014 at 10:23 AM, Brian Paul bri...@vmware.com