mesa/src/compiler
Mike Blumenkrantz cdcfcb7916 nir/lower_is_helper_invocation: create load_helper_invocation instr with bitsize=1
the specification stipulates that this is a bool value, so don't load it as an int
or else nir_validate explodes

Fixes: f17b41ab4f ("nir: add lowering pass for helperInvocationEXT()")

Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15402>
2022-03-21 03:20:33 +00:00
..
clc clc: Use kernel_arg_type_qual string to add const type qualifier to arg metadata 2021-11-15 07:47:00 -08:00
glsl glsl: store OES/EXT point_size extension enablement to shader struct 2022-03-09 05:10:21 +00:00
isaspec isaspec: add gen-based leaf bitset separation 2022-02-12 13:46:07 -05:00
nir nir/lower_is_helper_invocation: create load_helper_invocation instr with bitsize=1 2022-03-21 03:20:33 +00:00
spirv spirv: Properly mangle generic pointers 2022-03-18 21:52:05 +00:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
meson.build spirv: Use a single binary for gtests 2021-10-20 17:55:36 +00:00
nir_gl_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.cpp nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
shader_enums.c compiler: Extract num_mesh_vertices_per_primitive function. 2022-02-14 11:13:42 +01:00
shader_enums.h nir: Introduce workgroup_index and ability to lower workgroup_id to it. 2022-03-08 17:36:31 +00:00
shader_info.h nir: add shader_info::xfb_strides 2022-03-01 21:59:55 +00:00