diff options
Diffstat (limited to 'ptx/src/test/spirv_run/const.ptx')
-rw-r--r-- | ptx/src/test/spirv_run/const.ptx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ptx/src/test/spirv_run/const.ptx b/ptx/src/test/spirv_run/const.ptx index c22ac2b..90ac09d 100644 --- a/ptx/src/test/spirv_run/const.ptx +++ b/ptx/src/test/spirv_run/const.ptx @@ -19,10 +19,10 @@ ld.param.u64 in_addr, [input];
ld.param.u64 out_addr, [output];
- ld.const.b16 temp1, constparams[0];
- ld.const.b16 temp2, constparams[1];
- ld.const.b16 temp3, constparams[2];
- ld.const.b16 temp4, constparams[3];
+ ld.const.b16 temp1, [constparams];
+ ld.const.b16 temp2, [constparams+2];
+ ld.const.b16 temp3, [constparams+4];
+ ld.const.b16 temp4, [constparams+6];
st.u16 [out_addr], temp1;
st.u16 [out_addr+2], temp2;
st.u16 [out_addr+4], temp3;
|