mesa/src/compiler/spirv
Jason Ekstrand b77d68b78e nir/builder: Add iadd_imm and imul_imm helpers
The pattern of adding or multiplying an integer by an immediate is
fairly common especially in deref chain handling.  This adds a helper
for it and uses it a few places.  The advantage to the helper is that
it automatically handles bit sizes for you.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
2018-11-15 19:59:27 -06:00
..
.gitignore .gitignore: Ignore new generated files 2018-01-08 21:11:11 -08:00
gl_spirv.c nir/spirv: add gl_spirv_validation method 2018-03-30 09:14:56 +02:00
GLSL.ext.AMD.h spirv: import AMD extensions header from glslang 2018-03-07 23:09:58 +01:00
GLSL.std.450.h
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
nir_spirv.h nir/spirv: add gl_spirv_validation method 2018-03-30 09:14:56 +02:00
OpenCL.std.h nir/spirv: import OpenCL.std.h 2018-07-24 20:40:05 +02:00
spirv.core.grammar.json spirv: Update SPIR-V json and headers to Khronos master 2018-10-13 09:56:18 -05:00
spirv.h spirv: Update SPIR-V json and headers to Khronos master 2018-10-13 09:56:18 -05:00
spirv2nir.c
spirv_info.h spirv/info: Add spirv_op_to_string 2018-01-08 14:57:44 -08:00
spirv_info_c.py spirv/info: Add spirv_op_to_string 2018-01-08 14:57:44 -08:00
spirv_to_nir.c nir/spirv: cast shift operand to u32 2018-11-14 02:09:11 +01:00
vtn_alu.c nir/spirv: cast shift operand to u32 2018-11-14 02:09:11 +01:00
vtn_amd.c nir/spirv: s/uint32_t/SpvOp/ in various functions 2018-03-30 14:33:33 -06:00
vtn_cfg.c spirv: Pass SSA values through functions 2018-10-30 11:22:44 -05:00
vtn_gather_types_c.py spirv: Add a prepass to set types on vtn_values 2017-12-11 22:28:34 -08:00
vtn_glsl450.c nir: add builtin builder 2018-07-24 20:40:05 +02:00
vtn_private.h spirv/nir: handle memory access qualifiers for SSBO loads/stores 2018-10-12 08:42:08 +02:00
vtn_subgroup.c spirv: Initialize subgroup destinations with the destination type 2018-10-26 11:45:29 -05:00
vtn_variables.c nir/builder: Add iadd_imm and imul_imm helpers 2018-11-15 19:59:27 -06:00