Commit d49937b
committed
gxm: move vtx attrib binding to context_flush_dirty_state
Also fixes random crash:
```
deko3d debug callback: context: dkFenceWait, message: Queue (1) entered error state, result 0
deko3d debug callback: context: dkFenceWait, message: timestamp: 0, result 0
deko3d debug callback: context: dkFenceWait, message: info32: 13, result 0
deko3d debug callback: context: dkFenceWait, message: info16: 0, result 0
deko3d debug callback: context: dkFenceWait, message: status: 65535, result 0
deko3d debug callback: context: dkFenceWait, message: --, result 0
deko3d debug callback: context: dkFenceWait, message: GPU method error (irq 0x00100000), result 0
deko3d debug callback: context: dkFenceWait, message: [b197:458] = 0x78800000, result 0
deko3d debug callback: context: dkFenceWait, message: Unknown data: 0x00000000; 0x0000, result 0
```
`[b197:458]` is `MAXWELL_B` register `NVB197_SET_VERTEX_ATTRIBUTE_A(0)`
(https://gitlab.freedesktop.org/mesa/mesa/-/raw/main/src/nouveau/headers/nvidia/classes/clb197.h?ref_type=heads)1 parent 318a80e commit d49937b
1 file changed
Lines changed: 27 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1329 | 1329 | | |
1330 | 1330 | | |
1331 | 1331 | | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | | - | |
1346 | | - | |
1347 | | - | |
1348 | | - | |
1349 | | - | |
1350 | | - | |
1351 | | - | |
1352 | | - | |
1353 | | - | |
1354 | | - | |
1355 | 1332 | | |
1356 | 1333 | | |
1357 | 1334 | | |
| |||
1915 | 1892 | | |
1916 | 1893 | | |
1917 | 1894 | | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
1918 | 1922 | | |
1919 | 1923 | | |
1920 | 1924 | | |
| |||
0 commit comments