Skip to content
Snippets Groups Projects
Commit aa17d139 authored by Ethan Lee's avatar Ethan Lee Committed by Alexandre Julliard
Browse files

tests: Add a test for arrays with an expression as the index.


Currently, the compiler requires that dereferences be HLSL_IR_CONSTANT, so that
it can compute the offset at compile time. However, scenarios such as this test
will produce a dereference with HLSL_IR_EXPR, which will generate an error.

Passing this test in particular will require adding support for SM4 relative
addressing, as well as support for non-constant indexing in general.

Signed-off-by: default avatarEthan Lee <flibitijibibo@gmail.com>
parent bb680e73
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment