https://github.com/shader-slang/slang
History
Tip revision: 56928794d0800824dc91e150cb345b5fec24d930 authored by kaizhangNV on 27 March 2024, 20:30:34 UTC
Fix incorrect SPV stride for unsized array (#3837)
Tip revision: 5692879
File Mode Size
inlining
mutating
addr-scope-fix.slang -rw-r--r-- 1.8 KB
addr-scope-fix.slang.expected.txt -rw-r--r-- 25 bytes
array-size-groupshared.slang -rw-r--r-- 984 bytes
array-size-groupshared.slang.expected.txt -rw-r--r-- 23 bytes
array-size-static-const-2.slang -rw-r--r-- 747 bytes
array-size-static-const-2.slang.expected.txt -rw-r--r-- 23 bytes
array-size-static-const.hlsl -rw-r--r-- 346 bytes
atomic-coerce.slang -rw-r--r-- 741 bytes
atomic-coerce.slang.expected.txt -rw-r--r-- 8 bytes
bool-init.slang -rw-r--r-- 654 bytes
bool-init.slang.expected.txt -rw-r--r-- 8 bytes
bool-op.slang -rw-r--r-- 1.5 KB
bool-op.slang.expected.txt -rw-r--r-- 49 bytes
branch-attribute.slang -rw-r--r-- 537 bytes
branch-switch-attribute.slang -rw-r--r-- 519 bytes
buffer-swizzle-store.slang -rw-r--r-- 621 bytes
buffer-swizzle-store.slang.expected.txt -rw-r--r-- 15 bytes
byte-address-buffer-interlocked-add-f32.slang -rw-r--r-- 484 bytes
byte-address-buffer-interlocked-add-f32.slang.expected.txt -rw-r--r-- 16 bytes
c-style-cast-coerce.slang -rw-r--r-- 464 bytes
c-style-cast-coerce.slang.expected -rw-r--r-- 187 bytes
c-style-cast-overload.slang -rw-r--r-- 613 bytes
c-style-cast-overload.slang.expected.txt -rw-r--r-- 8 bytes
cbuffer-member-init.hlsl -rw-r--r-- 196 bytes
cyclic-type-2.slang -rw-r--r-- 287 bytes
cyclic-type.slang -rw-r--r-- 215 bytes
do-loop.hlsl -rw-r--r-- 807 bytes
dxbc-double-problem.slang -rw-r--r-- 1.3 KB
dxbc-double-problem.slang.expected.txt -rw-r--r-- 86 bytes
empty-switch.slang -rw-r--r-- 812 bytes
empty-switch.slang.expected.txt -rw-r--r-- 8 bytes
empty.slang -rw-r--r-- 121 bytes
enum-init-cast.slang -rw-r--r-- 377 bytes
eroneous-generic-parse.slang -rw-r--r-- 455 bytes
eroneous-generic-parse.slang.expected -rw-r--r-- 210 bytes
extension-lifetime.slang -rw-r--r-- 1.1 KB
frexp-double.slang -rw-r--r-- 1.1 KB
frexp.slang -rw-r--r-- 1008 bytes
func-type-specialize.slang -rw-r--r-- 747 bytes
generic-constant-fold.slang -rw-r--r-- 1.2 KB
generic-constant-fold.slang.expected.txt -rw-r--r-- 23 bytes
generic-default-matrix.slang -rw-r--r-- 463 bytes
generic-default-matrix.slang.expected.txt -rw-r--r-- 8 bytes
generic-default-value.slang -rw-r--r-- 501 bytes
generic-default-value.slang.expected.txt -rw-r--r-- 8 bytes
generic-extension.slang -rw-r--r-- 613 bytes
generic-extension.slang.expected.txt -rw-r--r-- 8 bytes
generic-groupshared.slang -rw-r--r-- 653 bytes
generic-groupshared.slang.expected.txt -rw-r--r-- 8 bytes
generic-member-method.slang -rw-r--r-- 1.4 KB
generic-member-method.slang.expected.txt -rw-r--r-- 8 bytes
generic-param-cast.slang -rw-r--r-- 794 bytes
generic-param-cast.slang.expected.txt -rw-r--r-- 8 bytes
generic-type-arg-overloaded.slang -rw-r--r-- 671 bytes
generic-type-arg-overloaded.slang.expected -rw-r--r-- 947 bytes
generic-type-duplication.slang -rw-r--r-- 910 bytes
generic-type-duplication.slang.expected.txt -rw-r--r-- 8 bytes
generic-uint-value-param.slang -rw-r--r-- 369 bytes
generic-uint-value-param.slang.expected.txt -rw-r--r-- 59 bytes
gh-103.slang -rw-r--r-- 723 bytes
gh-122.slang -rw-r--r-- 408 bytes
gh-122.slang.glsl -rw-r--r-- 621 bytes
gh-133.slang -rw-r--r-- 318 bytes
gh-133.slang.glsl -rw-r--r-- 342 bytes
gh-171.slang -rw-r--r-- 455 bytes
gh-172.slang -rw-r--r-- 731 bytes
gh-1990.slang -rw-r--r-- 1.5 KB
gh-1990.slang.expected.txt -rw-r--r-- 21 bytes
gh-2936.slang -rw-r--r-- 1017 bytes
gh-295.hlsl -rw-r--r-- 930 bytes
gh-2959.slang -rw-r--r-- 418 bytes
gh-3075.slang -rw-r--r-- 611 bytes
gh-3075.slang.expected.txt -rw-r--r-- 15 bytes
gh-3085.slang -rw-r--r-- 910 bytes
gh-3086.slang -rw-r--r-- 450 bytes
gh-333.slang -rw-r--r-- 727 bytes
gh-34.hlsl -rw-r--r-- 369 bytes
gh-3408.slang -rw-r--r-- 559 bytes
gh-3429.slang -rw-r--r-- 1.1 KB
gh-357.slang -rw-r--r-- 634 bytes
gh-357.slang.expected.txt -rw-r--r-- 36 bytes
gh-3589.slang -rw-r--r-- 544 bytes
gh-3601.slang -rw-r--r-- 1.1 KB
gh-3637.slang -rw-r--r-- 1.2 KB
gh-3643.slang -rw-r--r-- 313 bytes
gh-3727.slang -rw-r--r-- 240 bytes
gh-3780.slang -rw-r--r-- 1.1 KB
gh-3781.slang -rw-r--r-- 450 bytes
gh-3783.slang -rw-r--r-- 369 bytes
gh-3792.slang -rw-r--r-- 502 bytes
gh-3795.slang -rw-r--r-- 378 bytes
gh-3802.slang -rw-r--r-- 246 bytes
gh-3808.slang -rw-r--r-- 370 bytes
gh-3818.slang -rw-r--r-- 841 bytes
gh-3824.slang -rw-r--r-- 301 bytes
gh-3825.slang -rw-r--r-- 573 bytes
gh-3845-2.slang -rw-r--r-- 654 bytes
gh-3845.slang -rw-r--r-- 641 bytes
gh-449.slang -rw-r--r-- 971 bytes
gh-449.slang.expected -rw-r--r-- 316 bytes
gh-463.slang -rw-r--r-- 187 bytes
gh-463.slang.expected -rw-r--r-- 165 bytes
gh-471.slang -rw-r--r-- 588 bytes
gh-471.slang.expected.txt -rw-r--r-- 11 bytes
gh-487.slang -rw-r--r-- 882 bytes
gh-487.slang.expected.txt -rw-r--r-- 8 bytes
gh-518.slang -rw-r--r-- 995 bytes
gh-518.slang.expected.txt -rw-r--r-- 8 bytes
gh-519.slang -rw-r--r-- 878 bytes
gh-519.slang.expected.txt -rw-r--r-- 8 bytes
gh-566.slang -rw-r--r-- 694 bytes
gh-566.slang.expected.txt -rw-r--r-- 12 bytes
gh-569.slang -rw-r--r-- 654 bytes
gh-569.slang.expected.txt -rw-r--r-- 8 bytes
gh-666.slang -rw-r--r-- 167 bytes
gh-75.hlsl -rw-r--r-- 483 bytes
gh-75.hlsl.expected -rw-r--r-- 140 bytes
gh-775.slang -rw-r--r-- 658 bytes
gh-775.slang.expected.txt -rw-r--r-- 20 bytes
gh-841.slang -rw-r--r-- 822 bytes
gh-841.slang.glsl -rw-r--r-- 397 bytes
gh-941.slang -rw-r--r-- 334 bytes
gh-941.slang.glsl -rw-r--r-- 500 bytes
gl-33-ext.slang -rw-r--r-- 134 bytes
gl-33.slang -rw-r--r-- 480 bytes
gl-33.slang.expected.txt -rw-r--r-- 8 bytes
glsl-int-swizzle.slang -rw-r--r-- 318 bytes
glsl-int-swizzle.slang.expected.txt -rw-r--r-- 8 bytes
glsl-layout-define.hlsl -rw-r--r-- 173 bytes
glsl-layout-define.hlsl.expected -rw-r--r-- 386 bytes
glsl-static-const-array.slang -rw-r--r-- 347 bytes
glsl-static-const-array.slang.expected.txt -rw-r--r-- 8 bytes
glsl-vk-binding-define.hlsl -rw-r--r-- 208 bytes
glsl-vk-binding-define.hlsl.expected -rw-r--r-- 458 bytes
implicit-cast.slang -rw-r--r-- 424 bytes
implicit-cast.slang.expected.txt -rw-r--r-- 1 byte
implicit-conversion-binary-op.hlsl -rw-r--r-- 389 bytes
import-overload-error.hlsl -rw-r--r-- 398 bytes
import-overload-error.slang -rw-r--r-- 61 bytes
import-with-error-extra.slang -rw-r--r-- 201 bytes
import-with-error.slang -rw-r--r-- 182 bytes
import-with-error.slang.expected -rw-r--r-- 413 bytes
inf-float-literal.slang -rw-r--r-- 708 bytes
inf-float-literal.slang.expected.txt -rw-r--r-- 36 bytes
inherit-interface.slang -rw-r--r-- 716 bytes
inherit-interface.slang.expected.txt -rw-r--r-- 49 bytes
interface-lvalue.slang -rw-r--r-- 530 bytes
interface-lvalue.slang.expected -rw-r--r-- 64 bytes
interface-type-self-ref.slang -rw-r--r-- 580 bytes
interface-type-self-ref.slang.expected.txt -rw-r--r-- 22 bytes
interlocked-add-uint-int.slang -rw-r--r-- 585 bytes
inversion-tricky-phi.slang -rw-r--r-- 766 bytes
ir-null-parent-crash.slang -rw-r--r-- 396 bytes
keyword-undefined-identifier.slang -rw-r--r-- 886 bytes
keyword-undefined-identifier.slang.expected -rw-r--r-- 336 bytes
loop-optimize.slang -rw-r--r-- 768 bytes
loop-optimize.slang.expected.txt -rw-r--r-- 16 bytes
matrix-mult.glsl -rw-r--r-- 484 bytes
matrix-reshape.slang -rw-r--r-- 758 bytes
matrix-reshape.slang.expected.txt -rw-r--r-- 17 bytes
meta-2.slang -rw-r--r-- 420 bytes
meta-2.slang.expected.txt -rw-r--r-- 8 bytes
multiple-attributes-without-comma.slang -rw-r--r-- 481 bytes
multiple-definitions.slang -rw-r--r-- 349 bytes
negative-literal.slang -rw-r--r-- 590 bytes
negative-literal.slang.expected.txt -rw-r--r-- 36 bytes
nested-existential-dyndispatch.slang -rw-r--r-- 948 bytes
nested-existential-dyndispatch.slang.expected.txt -rw-r--r-- 27 bytes
nested-generics-call.slang -rw-r--r-- 577 bytes
nested-generics-call.slang.expected.txt -rw-r--r-- 36 bytes
nested-generics-method-call.slang -rw-r--r-- 622 bytes
nested-generics-method-call.slang.expected.txt -rw-r--r-- 36 bytes
nested-switch.slang -rw-r--r-- 806 bytes
nested-switch.slang.expected.txt -rw-r--r-- 8 bytes
obfuscate-specialization-naming.slang -rw-r--r-- 701 bytes
obfuscate-specialization-naming.slang.expected.txt -rw-r--r-- 8 bytes
op-assignment-unify-mat.slang -rw-r--r-- 1.3 KB
op-assignment-unify-mat.slang.expected.txt -rw-r--r-- 17 bytes
op-assignment-unify-vec.slang -rw-r--r-- 1.1 KB
op-assignment-unify-vec.slang.expected.txt -rw-r--r-- 14 bytes
op-assignment-unify.slang -rw-r--r-- 950 bytes
op-assignment-unify.slang.expected.txt -rw-r--r-- 14 bytes
operator-overload.slang -rw-r--r-- 655 bytes
operator-overload.slang.expected.txt -rw-r--r-- 8 bytes
overloaded-enum.slang -rw-r--r-- 189 bytes
parameter-block-load.slang -rw-r--r-- 863 bytes
parameter-block-load.slang.expected.txt -rw-r--r-- 16 bytes
paren-insertion-bug.slang -rw-r--r-- 869 bytes
paren-insertion-bug.slang.expected.txt -rw-r--r-- 9 bytes
parens-cast-issue.slang -rw-r--r-- 587 bytes
parens-cast-issue.slang.expected.txt -rw-r--r-- 8 bytes
parser-infinite-loop.slang -rw-r--r-- 109 bytes
parser-infinite-loop.slang.expected -rw-r--r-- 335 bytes
preproc-lex-failure-2.slang -rw-r--r-- 164 bytes
preproc-lex-failure-2.slang.expected -rw-r--r-- 251 bytes
preproc-lex-failure.slang -rw-r--r-- 140 bytes
preproc-lex-failure.slang.expected -rw-r--r-- 66 bytes
ray-flags-non-constant.slang -rw-r--r-- 390 bytes
ray-flags-non-constant.slang.expected -rw-r--r-- 226 bytes
ray-query-in-generic.slang -rw-r--r-- 2.0 KB
ray-query-in-generic.slang.expected.txt -rw-r--r-- 21 bytes
rwstructuredbuffer-existential-in-struct.slang -rw-r--r-- 873 bytes
rwstructuredbuffer-existential-in-struct.slang.expected.txt -rw-r--r-- 8 bytes
sample-grad-clamp-lod.slang -rw-r--r-- 451 bytes
sample-grad-clamp-lod.slang.glsl -rw-r--r-- 711 bytes
scalar-swizzle-write.slang -rw-r--r-- 380 bytes
scalar-swizzle-write.slang.expected.txt -rw-r--r-- 28 bytes
sccp-switch-case-removal.slang -rw-r--r-- 692 bytes
sccp-switch-case-removal.slang.expected.txt -rw-r--r-- 7 bytes
scope-generic.slang -rw-r--r-- 890 bytes
scope-generic.slang.expected.txt -rw-r--r-- 12 bytes
shadowed-lookup.slang -rw-r--r-- 462 bytes
shadowed-lookup.slang.expected.txt -rw-r--r-- 0 bytes
specialize-existential-in-generic.slang -rw-r--r-- 911 bytes
specialize-existential-in-generic.slang.expected.txt -rw-r--r-- 7 bytes
specialize-function-array-args.slang -rw-r--r-- 1.3 KB
specialize-function-array-args.slang.expected.txt -rw-r--r-- 22 bytes
spirv-debug-info.slang -rw-r--r-- 760 bytes
split-nested-types.hlsl -rw-r--r-- 778 bytes
split-nested-types.slang -rw-r--r-- 231 bytes
ssa-loop.slang -rw-r--r-- 630 bytes
ssa-loop.slang.expected.txt -rw-r--r-- 10 bytes
static-method.slang -rw-r--r-- 559 bytes
static-method.slang.expected.txt -rw-r--r-- 20 bytes
static-var.slang -rw-r--r-- 465 bytes
static-var.slang.expected.txt -rw-r--r-- 12 bytes
stk-chk.slang -rw-r--r-- 1.1 KB
stk-chk.slang.expected.txt -rw-r--r-- 36 bytes
string-inline.slang -rw-r--r-- 850 bytes
string-inline.slang.expected.txt -rw-r--r-- 36 bytes
sv-clip-distance-array.slang -rw-r--r-- 483 bytes
sv-clip-distance-out-param.slang -rw-r--r-- 605 bytes
sv-clip-distance-split.slang -rw-r--r-- 737 bytes
sv-clip-distance.slang -rw-r--r-- 625 bytes
texture-array-samplecmplevelzero.slang -rw-r--r-- 548 bytes
texture2d-gather.hlsl -rw-r--r-- 976 bytes
texture2d-ms.hlsl -rw-r--r-- 372 bytes
texture2d-ms.hlsl.glsl -rw-r--r-- 473 bytes
token-limit.slang -rw-r--r-- 5.0 KB
token-limit.slang.expected.txt -rw-r--r-- 8 bytes
type-legalize-bug-1.slang -rw-r--r-- 1.0 KB
type-legalize-bug-1.slang.expected.txt -rw-r--r-- 8 bytes
uav-write-index.hlsl -rw-r--r-- 579 bytes
user-attribute-lookup.slang -rw-r--r-- 865 bytes
user-attribute-lookup.slang.expected.txt -rw-r--r-- 8 bytes
vec-compare.slang -rw-r--r-- 2.4 KB
vec-compare.slang.expected.txt -rw-r--r-- 145 bytes
vec-init-list.hlsl -rw-r--r-- 884 bytes
vec-init.slang -rw-r--r-- 1.1 KB
vec-init.slang.expected.txt -rw-r--r-- 36 bytes
vk-image-atomics.slang -rw-r--r-- 242 bytes
vk-image-atomics.slang.glsl -rw-r--r-- 227 bytes
vk-image-write.slang -rw-r--r-- 455 bytes
vk-image-write.slang.glsl -rw-r--r-- 575 bytes
vk-shift-uniform-issue.slang -rw-r--r-- 1.9 KB
vk-structured-buffer-binding.hlsl -rw-r--r-- 237 bytes
vk-structured-buffer-binding.hlsl.glsl -rw-r--r-- 409 bytes
vk-structured-buffer-load.hlsl -rw-r--r-- 908 bytes
vk-structured-buffer-load.hlsl.glsl -rw-r--r-- 1.0 KB
warn-39001-disable.slang -rw-r--r-- 605 bytes
while-in-generic.slang -rw-r--r-- 526 bytes
while-in-generic.slang.expected.txt -rw-r--r-- 7 bytes

back to top