SPIRV-Cross/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
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 Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
do-while-statement-fallback.asm.frag Detect invalid DoWhileLoop early. 2019-04-05 12:19:32 +02:00
empty-struct.asm.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
for-loop-phi-only-continue.asm.frag Add test case for phi-only continue block. 2018-08-06 14:06:40 +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 Rewrite everything to use Bitset rather than uint64_t. 2018-03-12 13:24:14 +01:00
hlsl-sample-cmp-level-zero.asm.frag Rewrite everything to use Bitset rather than uint64_t. 2018-03-12 13:24:14 +01: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.no-samplerless.asm.vk.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 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
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 Windows support in Travis CI. 2018-10-27 00:22:30 +02:00
inf-nan-constant.asm.frag Add Windows support in Travis CI. 2018-10-27 00:22:30 +02: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 Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
loop-body-dominator-continue-access.asm.frag Add test for continue block lifting. 2017-12-05 17:44:52 +01:00
loop-header-to-continue.asm.frag Fix case where loop header branches into continue block. 2018-02-01 10:00:16 +01: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 Support OpConstantNull. 2017-08-03 14:32:29 +02:00
op-phi-swap-continue-block.asm.frag Deal with phi copies which happen inside continue blocks. 2019-01-07 14:24:07 +01: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 Ensure unpack/pack2x32 tests are compatible with test suite. 2020-04-21 11:48:58 +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 case when Phi variable is a loop variable. 2017-09-25 10:15:17 +02: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 Add new tests for combined arrays of sampler + image. 2018-04-23 12:28:05 +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 Support initializers on StorageClassOutput. 2019-01-30 10:29:08 +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 Deal with switch case labels which share a block. 2018-06-20 10:49:28 +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 Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02: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 Update external repos. 2019-07-13 16:50:21 -05: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
unreachable.asm.frag Handle OpUnreachable in code-gen. 2018-01-15 09:35:09 +01:00
vector-shuffle-oom.asm.frag Handle exponential explosion of code-gen during first phase of compile. 2018-01-24 18:12:41 +01:00