mesa/src
Kenneth Graunke 9f677d6541 i965: Fix gl_InvocationID in dual object GS where invocations == 1.
dEQP-GLES31.functional.geometry_shading.instanced.geometry_1_invocations
draws using a geometry shader that specifies

   layout(points, invocations = 1) in;

and then uses gl_InvocationID.  According to the Haswell PRM, the
"GS Instance ID 0" (and 1) thread payload fields are undefined in
dual object mode:

   "If 'dispatch mode' is DUAL_OBJECT this field is not valid."

But there's no point in using them - if there's only one invocation,
the ID will be 0.  So just load a constant.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
2016-10-17 20:22:02 -07:00
..
amd radv/winsys: Fail early on overgrown cs. 2016-10-16 12:38:53 +02:00
compiler glsl: Remove unused function import_prototypes 2016-10-17 11:32:03 -07:00
egl egl/android: fix error in droid_add_configs_for_visuals() 2016-10-17 11:51:15 +01:00
gallium radeonsi: unify the constant load paths 2016-10-17 19:08:45 +02:00
gbm gbm: add a couple missing includes 2016-10-17 08:47:38 -07:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx loader/dri3: constify the loader_dri3_vtable 2016-10-14 12:53:35 +01:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: Get rid of anv_cmd_buffer_emit_state_base_address 2016-10-17 17:41:35 -07:00
loader loader/dri3: constify the loader_dri3_vtable 2016-10-14 12:53:35 +01:00
mapi mapi: fix out-of-tree build dependencies 2016-10-12 17:36:35 +02:00
mesa i965: Fix gl_InvocationID in dual object GS where invocations == 1. 2016-10-17 20:22:02 -07:00
util util: remove unused variable 2016-10-07 21:24:50 +11:00
Makefile.am radv: add initial non-conformant radv vulkan driver 2016-10-07 09:16:09 +10:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00