Re: [Mesa-dev] [PATCH] tgsi/exec: fix system value handling.

2016-04-26 Thread Brian Paul
On 04/25/2016 09:06 PM, Dave Airlie wrote: From: Dave Airlie a) SysSemanticToIndex needs to be indexed with the semantic name not the decl->Declaration.Semantic. b) doing this in run is too late, as the mappings are all setup prior to run in the execs. This fixes point-vertex-id gl_vertex_id

[Mesa-dev] [PATCH] tgsi/exec: fix system value handling.

2016-04-25 Thread Dave Airlie
From: Dave Airlie a) SysSemanticToIndex needs to be indexed with the semantic name not the decl->Declaration.Semantic. b) doing this in run is too late, as the mappings are all setup prior to run in the execs. This fixes point-vertex-id gl_vertex_id gl_instanceid point-vertex-id gl_vertex_id gl