Changeset 95091 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- May 25, 2022 10:29:30 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151566
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win-dx.cpp
r95085 r95091 1280 1280 if (pEntry->usesMob) 1281 1281 { 1282 DEBUG_BREAKPOINT_TEST();1283 1282 pMob = vmsvgaR3MobGet(pSvgaR3State, pEntry->mobid); 1284 1283 ASSERT_GUEST_RETURN(pMob, VERR_INVALID_PARAMETER); … … 1306 1305 1307 1306 pDst->Stream = pSrc->stream; 1308 pDst->SemanticName = NULL; /* Will be taken from the shader output declaration. */1307 pDst->SemanticName = NULL; /* Semantic name and index will be taken from the shader output declaration. */ 1309 1308 pDst->SemanticIndex = 0; 1310 pDst->StartComponent = iFirstBit > 0 ? iFirstBit - 1 : 0; 1309 /* A geometry shader may return an attribute as a component: 1310 * Name Index Mask Register 1311 * ATTRIB 3 z 2 1312 * In this case SO declaration expects StartComponent = 0 and ComponentCount = 1 1313 * (not StartComponent = 2 and ComponentCount = 1) 1314 * This 'StartComponent = iFirstBit > 0 ? iFirstBit - 1 : 0;' did not work with a sample from a D3D11 book. 1315 */ 1316 pDst->StartComponent = 0; 1311 1317 pDst->ComponentCount = iFirstBit > 0 ? iLastBit - (iFirstBit - 1) : 0; 1312 1318 pDst->OutputSlot = pSrc->outputSlot; -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d.cpp
r95008 r95091 1468 1468 pMipLevel->pSurfaceData, pMipLevel->cbSurfacePitch, pMipLevel->cbSurfacePlane); 1469 1469 1470 LogFunc(("SysMem: pvData %p\n", pMap->pvData));1470 LogFunc(("SysMem: sid = %u, pvData %p\n", pImage->sid, pMap->pvData)); 1471 1471 return VINF_SUCCESS; 1472 1472 }
Note:
See TracChangeset
for help on using the changeset viewer.