SPIRV-Cross/reference/shaders/asm/frag
Sebastián Aedo 905b8244e7 Clamp vector element access to vector size.
In cases where we know the size of the vector and the index at compile
time, we can check if it's accessing in bounds and rely in undefined
behavior otherwise.

Signed-off-by: Sebastián Aedo <saedo@codeweavers.com>
2021-12-07 16:00:06 -03:00
..
combined-sampler-reuse.vk.asm.frag Fix case where SampledImage would get flushed to temporary. 2018-04-27 10:06:30 +02:00
combined-sampler-reuse.vk.asm.frag.vk Fix case where SampledImage would get flushed to temporary. 2018-04-27 10:06:30 +02:00
complex-name-workarounds.asm.frag Sanitize underscores in general, not just for members. 2018-06-04 10:13:57 +02:00
composite-construct-struct-no-swizzle.asm.frag Do not merge swizzles for anything other than vectors. 2018-01-22 09:52:57 +01:00
default-member-names.asm.frag Add test for default member names. 2017-07-29 21:58:37 +02:00
do-while-statement-fallback.asm.frag Detect invalid DoWhileLoop early. 2019-04-05 12:19:32 +02:00
empty-struct.asm.frag Support empty structs. 2018-04-05 16:26:54 +02:00
for-loop-phi-only-continue.asm.frag Move branchless analysis to CFG. 2019-08-27 10:19:19 +02:00
frem.asm.frag Add OpFRem tests. 2018-02-15 13:36:59 +01:00
function-overload-alias.asm.frag Handle overloaded functions which share the same OpName. 2018-02-23 14:15:51 +01:00
hlsl-sample-cmp-level-zero-cube.asm.frag Deal better with CompositeExtract from constant composite. 2021-01-22 12:30:16 +01:00
hlsl-sample-cmp-level-zero.asm.frag Implement workaround for textureLod on 2D array shadow. 2017-06-23 09:45:42 +02:00
image-extract-reuse.asm.frag Fix usage tracking issue for OpImage. 2018-04-27 11:11:24 +02:00
image-fetch-no-sampler.asm.vk.frag Add test for texelFetch without sampler. 2018-02-21 13:45:59 +01:00
image-fetch-no-sampler.asm.vk.frag.vk Use GL_EXT_samplerless_texture_functions in Vulkan GLSL. 2018-09-27 13:36:38 +02:00
image-fetch-no-sampler.no-samplerless.asm.vk.frag Vulkan GLSL: Support disabling samplerless texture function EXT. 2019-07-25 11:07:14 +02:00
image-fetch-no-sampler.no-samplerless.asm.vk.frag.vk Vulkan GLSL: Support disabling samplerless texture function EXT. 2019-07-25 11:07:14 +02:00
image-query-no-sampler.no-samplerless.vk.asm.frag Vulkan GLSL: Support disabling samplerless texture function EXT. 2019-07-25 11:07:14 +02:00
image-query-no-sampler.no-samplerless.vk.asm.frag.vk Vulkan GLSL: Support disabling samplerless texture function EXT. 2019-07-25 11:07:14 +02:00
image-query-no-sampler.vk.asm.frag Build combined dummy samplers for Query functions without sampler as well. 2018-04-30 12:08:33 +02:00
image-query-no-sampler.vk.asm.frag.vk Use GL_EXT_samplerless_texture_functions in Vulkan GLSL. 2018-09-27 13:36:38 +02:00
implicit-read-dep-phi.asm.frag Add test shader where a phi variable invalidates a temporary. 2018-03-09 14:42:26 +01:00
inf-nan-constant-double.asm.frag Add comment after inf/nan float number for clarifying. 2021-05-27 02:40:41 +08:00
inf-nan-constant.asm.frag Add comment after inf/nan float number for clarifying. 2021-05-27 02:40:41 +08:00
invalidation.asm.frag Implement workaround for textureLod on 2D array shadow. 2017-06-23 09:45:42 +02:00
line-directive.line.asm.frag Support emitting OpLine directive. 2019-05-28 13:44:24 +02:00
locations-components.asm.frag Support Component decoration in GLSL. 2018-09-10 12:13:26 +02:00
loop-body-dominator-continue-access.asm.frag GLSL: Implement control flow hints. 2021-06-03 12:01:49 +02:00
loop-header-to-continue.asm.frag Implement context-sensitive expression read tracking. 2020-06-29 12:20:35 +02:00
lut-promotion-initializer.asm.frag Add LUT test cases for OpVariable with initializer. 2018-07-05 14:51:07 +02:00
multi-for-loop-init.asm.frag Do not use inline for-loop initializers with different types. 2018-01-16 10:27:58 +01:00
op-constant-null.asm.frag Rewrite how IDs are iterated over. 2019-01-10 12:52:56 +01:00
op-phi-swap-continue-block.asm.frag Move branchless analysis to CFG. 2019-08-27 10:19:19 +02:00
out-of-bounds-access-opspecconstant.asm.frag Clamp vector element access to vector size. 2021-12-07 16:00:06 -03:00
out-of-bounds-access.asm.frag Clamp vector element access to vector size. 2021-12-07 16:00:06 -03:00
pack-and-unpack-uint2.asm.frag GLSL/HLSL: Support packUint2x32 and unpackUint2x32 2020-04-21 11:34:12 +02:00
pass-by-value.asm.frag MSL: Properly support passing parameters by value. 2018-08-06 15:43:51 +02:00
phi-loop-variable.asm.frag Fix CFG for forwarded temporaries. 2018-01-18 12:11:33 +01:00
sample-and-compare.asm.frag MSL: Fix textures which are sampled and compared against. 2019-02-22 12:27:40 +01:00
sampler-buffer-array-without-sampler.asm.frag Fix case where SampledImage would get flushed to temporary. 2018-04-27 10:06:30 +02:00
sampler-buffer-without-sampler.asm.frag Rewrite everything to use Bitset rather than uint64_t. 2018-03-12 13:24:14 +01:00
single-function-private-lut.asm.frag Support LUTs in single-function CFGs on Private storage class. 2019-02-06 10:38:59 +01:00
srem.asm.frag Add reference files for SREM. 2018-05-24 10:26:11 +02:00
storage-class-output-initializer.asm.frag GLSL: Handle some extreme edge cases in Output variable initialization. 2021-01-05 12:06:36 +01:00
struct-composite-extract-swizzle.asm.frag Do not allow base expressions when extracting struct members. 2017-11-20 21:32:13 +01:00
switch-label-shared-block.asm.frag Rewrite how switch block case labels are emitted. 2019-06-20 11:57:05 +02:00
switch-preserve-sign-extension.asm.frag MSL: Add 64 bit switch support 2021-11-26 15:54:56 -03:00
temporary-name-alias.asm.frag Fix name aliasing for temporary variables. 2018-03-24 01:53:49 +01:00
temporary-phi-hoisting.asm.frag Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
texel-fetch-no-lod.asm.frag Deal with OpImageFetch without explicit LOD. 2018-04-30 10:54:44 +02:00
texture-sampling-fp16.asm.vk.frag Handle more cases with FP16 and texture sampling. 2019-06-27 15:04:22 +02:00
texture-sampling-fp16.asm.vk.frag.vk Handle more cases with FP16 and texture sampling. 2019-06-27 15:04:22 +02:00
undef-variable-store.asm.frag Fix edge-case where do/while body is a dominator. 2017-08-02 11:58:24 +02:00
unknown-depth-state.asm.vk.frag Support OpTypeImage with depth == 2 (unknown) properly. 2018-07-04 14:26:23 +02:00
unknown-depth-state.asm.vk.frag.vk Support OpTypeImage with depth == 2 (unknown) properly. 2018-07-04 14:26:23 +02:00
unreachable.asm.frag Fix CFG::update_common_dominator. 2018-01-24 20:32:11 +01:00
vector-shuffle-oom.asm.frag GLSL: Implement control flow hints. 2021-06-03 12:01:49 +02:00