SPIRV-Cross/reference/opt/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 Add test for combined-sampler-reuse on GLSL. 2018-04-27 10:31:25 +02:00
combined-sampler-reuse.vk.asm.frag.vk Add test for combined-sampler-reuse on GLSL. 2018-04-27 10:31:25 +02:00
complex-name-workarounds.asm.frag Roll GLSLang and SPIRV-Tools 2019-11-05 10:07:15 -05:00
composite-construct-struct-no-swizzle.asm.frag Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
default-member-names.asm.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +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 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 Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
hlsl-sample-cmp-level-zero-cube.asm.frag Add reference output for --opt. 2017-11-23 09:50:11 +01:00
hlsl-sample-cmp-level-zero.asm.frag Add reference output for --opt. 2017-11-23 09:50:11 +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 Roll dependencies 2020-05-20 10:27:51 -04:00
image-fetch-no-sampler.asm.vk.frag.vk Roll dependencies 2020-05-20 10:27:51 -04:00
image-fetch-no-sampler.no-samplerless.asm.vk.frag Roll dependencies 2020-05-20 10:27:51 -04:00
image-fetch-no-sampler.no-samplerless.asm.vk.frag.vk Roll dependencies 2020-05-20 10:27:51 -04: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 Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
image-query-no-sampler.vk.asm.frag.vk Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +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 Add reference output for --opt. 2017-11-23 09:50:11 +01:00
line-directive.line.asm.frag Roll dependencies. 2021-01-08 10:41:51 +01: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 Ensure loop control flow hints only appear above loops. 2021-06-03 12:19:10 +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 Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
op-constant-null.asm.frag Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01: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 Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +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 Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +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 Add reference output for --opt. 2017-11-23 09:50:11 +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 Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01: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 Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
vector-shuffle-oom.asm.frag GLSL: Implement control flow hints. 2021-06-03 12:01:49 +02:00