mesa/src/compiler
Caio Marcelo de Oliveira Filho 050eb6389a spirv: Ignore ArrayStride in OpPtrAccessChain for Workgroup
From OpPtrAccessChain description in the SPIR-V spec (1.4 rev 1):

    For objects in the Uniform, StorageBuffer, or PushConstant storage
    classes, the element’s address or location is calculated using a
    stride, which will be the Base-type’s Array Stride when the Base
    type is decorated with ArrayStride. For all other objects, the
    implementation will calculate the element’s address or location.

For non-CL shaders the driver should layout the Workgroup storage
class, so override any explicitly set ArrayStride in the shader.  This
currently fixes only the lower_workgroup_access_to_offsets case, which
is used by anv.

Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
2019-07-02 12:15:01 -07:00
..
glsl glsl/nir: Lower buffers using Binding instead of Names 2019-06-30 16:58:27 -05:00
nir nir: add pass to lower load_interpolated_input 2019-07-02 16:15:25 +00:00
spirv spirv: Ignore ArrayStride in OpPtrAccessChain for Workgroup 2019-07-02 12:15:01 -07:00
Android.glsl.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
blob.c compiler/blob: Add blob_skip_bytes 2018-07-09 23:02:33 -07:00
blob.h compiler/blob: Add blob_skip_bytes 2018-07-09 23:02:33 -07:00
builtin_type_macros.h glsl_types: vec8/vec16 support 2018-03-25 10:42:54 -04:00
glsl_types.cpp glsl/nir: add glsl_types::explicit_size plus nir C wrapper 2019-06-30 16:58:26 -05:00
glsl_types.h glsl/nir: add glsl_types::explicit_size plus nir C wrapper 2019-06-30 16:58:26 -05:00
Makefile.sources nir: add pass to lower load_interpolated_input 2019-07-02 16:15:25 +00:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
nir_types.cpp nir_types: add glsl_type_is_leaf helper 2019-06-30 16:58:26 -05:00
nir_types.h nir_types: add glsl_type_is_leaf helper 2019-06-30 16:58:26 -05:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c compiler: rename SYSTEM_VALUE_VARYING_COORD 2019-04-25 14:13:31 -07:00
shader_enums.h nir: Add reorderable memory access enum 2019-06-19 14:08:28 +02:00
shader_info.h spirv/nir: add support for AMD_shader_ballot and Groups capability 2019-06-13 12:44:23 +00:00