summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/instancing/inst.frag.qsb
Commit message (Collapse)AuthorAgeFilesLines
* rhi: Fix up vertex inputs with matricesLaszlo Agocs2020-10-141-0/+0
| | | | | | | | | | | | In order to prevent too much voodoo in backends like D3D11, the input layout is expected to specify the slice index for vecX that are part of an unrolled matrix. Also deoptimize the instancing manual test to exercise a matrix too instead of just vectors. Change-Id: If2dcbcbc483645ce2420b2f87dda765b95da6e80 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Regenerate qsb files for auto and manual testsLaszlo Agocs2020-01-221-0/+0
| | | | | | | | | | | | | They are now version 4, which is hopefully the final format, relying on nothing but QDataStream. Except for the qshader autotest which tests all the 1..4 versions and so needs appropriate test data. Also unifies the batch file naming. Change-Id: Iec478be86d14dbec7ffb9d5f9b62c14fca5d7c9e Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* rhi: Add a test for instancingLaszlo Agocs2019-07-011-0/+0
Draws 1024 cubes at random x,y positions with varying color with a single instanced draw call. Change-Id: I8737503acf23866ad4734b1d88753415a3b93445 Reviewed-by: Lars Knoll <lars.knoll@qt.io>