ReinUsesLisp
cbea8c74de
vk_shader_decompiler: Fix vertex id and instance id
...
Vulkan's VertexIndex and InstanceIndex don't match with hardware. This
is because Nvidia implements gl_VertexID and gl_InstanceID. The math
that relates these is:
gl_VertexIndex = gl_BaseVertex + gl_VertexID
gl_InstanceIndex = gl_InstanceIndex + gl_InstanceID
To emulate it using what Vulkan's SPIR-V offers (the *Index variants)
this commit substracts gl_Base* from gl_*Index to obtain the OpenGL and
hardware's equivalent.
2020-02-13 20:25:28 -03:00
..
2019-12-16 17:59:08 -03:00
2019-12-08 22:08:19 -03:00
2020-01-06 22:02:26 -03:00
2020-01-06 22:02:26 -03:00
2020-01-10 17:12:50 -03:00
2020-01-10 17:12:50 -03:00
2020-01-29 17:53:11 -03:00
2020-01-16 22:54:15 -03:00
2020-01-20 18:43:11 -03:00
2020-01-20 18:43:11 -03:00
2020-01-06 18:13:41 -03:00
2020-01-06 18:13:41 -03:00
2020-01-10 22:46:34 -03:00
2020-01-08 19:24:26 -03:00
2020-01-06 22:02:26 -03:00
2020-01-06 22:02:26 -03:00
2020-01-03 17:34:30 -03:00
2020-01-01 16:44:06 -03:00
2020-01-29 17:53:11 -03:00
2019-12-19 16:31:33 -03:00
2020-01-18 18:50:47 -03:00
2020-01-06 22:02:26 -03:00
2019-12-25 18:00:16 -03:00
2019-12-30 13:28:23 -03:00
2020-01-06 18:13:41 -03:00
2020-01-06 18:13:41 -03:00
2020-01-24 01:16:21 -03:00
2020-01-06 22:02:26 -03:00
2020-02-04 18:04:24 -03:00
2020-01-17 21:40:01 -03:00
2020-01-06 18:28:32 -03:00
2020-01-06 18:28:32 -03:00
2019-12-19 16:31:34 -03:00
2019-12-19 16:31:34 -03:00
2020-01-10 17:12:50 -03:00
2019-07-07 13:40:36 -04:00
2019-12-13 02:24:48 -03:00
2019-12-13 02:24:48 -03:00
2020-02-13 20:25:28 -03:00
2020-01-24 01:16:21 -03:00
2020-01-08 19:22:20 -03:00
2020-01-08 19:22:20 -03:00
2019-12-25 18:12:17 -03:00
2020-01-13 20:37:50 -03:00
2020-01-06 18:13:41 -03:00
2020-01-06 18:13:41 -03:00
2020-01-20 18:43:11 -03:00
2020-01-20 18:43:11 -03:00
2020-01-16 18:23:10 -03:00
2020-01-16 18:23:10 -03:00
2020-01-06 18:28:32 -03:00
2020-01-06 18:28:32 -03:00