diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml index 3c160b16db2..6f385368586 100644 --- a/src/panfrost/bifrost/valhall/ISA.xml +++ b/src/panfrost/bifrost/valhall/ISA.xml @@ -2551,6 +2551,96 @@ Varying offset + + + Only works for FP32 varyings. Performance characteristics are similar + to LD_VAR_IMM_F32.v2.f32 followed by TEX, using both V and T units. + + + + + + + + + + + + + + + Image to read from + Varying offset + + + + + Only works for FP32 varyings. Performance characteristics are similar + to LD_VAR_IMM_F32.v2.f32 followed by TEX, using both V and T units. + + + + + + + + + + + + + + + + Image to read from + Varying offset + + + + + Only works for FP32 varyings. Performance characteristics are similar + to LD_VAR_IMM_F32.v2.f32 followed by TEX, using both V and T units. + + + + + + + + + + + + + + + + Image to read from + Varying offset + + + + + Only works for FP32 varyings. Performance characteristics are similar + to LD_VAR_IMM_F32.v2.f32 followed by TEX_DUAL, using both V and T units. + + + + + + + + + + + + + + + Image to read from + Varying offset + + First calculates $A \cdot B + C$ and then biases the exponent by D. Used in diff --git a/src/panfrost/bifrost/valhall/test/assembler-cases.txt b/src/panfrost/bifrost/valhall/test/assembler-cases.txt index 2aebbe2460e..03400b3cde0 100644 --- a/src/panfrost/bifrost/valhall/test/assembler-cases.txt +++ b/src/panfrost/bifrost/valhall/test/assembler-cases.txt @@ -220,3 +220,6 @@ c0 f1 00 00 10 c1 2f 08 BRANCHZI.eq.absolute.wait0 0x0, blend_descriptor_0.w1 32 00 80 18 02 4c 68 08 ATOM.i32.slot0.aadd.wait0 @r12, r50, offset:0x0 32 00 00 18 02 8c 69 08 ATOM1_RETURN.i32.slot0.ainc.wait0 @r12, r50, offset:0x0 32 00 00 18 00 80 69 08 ATOM1_RETURN.i32.slot0.ainc.wait0 @, r50, offset:0x0 +82 00 80 15 b4 80 38 49 VAR_TEX_SINGLE.slot0.skip.sample_store.f.32.2d.zero.wait @r0:r1:r2:r3, u2, u0 +82 20 80 15 b4 80 38 09 VAR_TEX_SINGLE.slot0.skip.sample_store.f.32.2d.computed.wait0 @r0:r1:r2:r3, u2, u0 +82 20 80 1d 84 80 38 41 VAR_TEX_SINGLE.slot0.skip.sample_store.s.32.2d.computed.wait0126 @r0, u2, u0 diff --git a/src/panfrost/bifrost/valhall/valhall.c.py b/src/panfrost/bifrost/valhall/valhall.c.py index 55bfa2c87ea..d47fdfbfc0f 100644 --- a/src/panfrost/bifrost/valhall/valhall.c.py +++ b/src/panfrost/bifrost/valhall/valhall.c.py @@ -66,6 +66,10 @@ SKIP = set([ "CLPER.v4u8", # VAR_TEX + "VAR_TEX_SINGLE", + "VAR_TEX_GATHER", + "VAR_TEX_GRADIENT", + "VAR_TEX_DUAL", "VAR_TEX_BUF_SINGLE", "VAR_TEX_BUF_GATHER", "VAR_TEX_BUF_GRADIENT",