mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 12:33:58 +00:00
Return view format stride in bytes not in bits
This commit is contained in:
1 file changed
+1
-1
@@ -68,7 +68,7 @@ public:
|
||||
return stride;
|
||||
|
||||
if(byteWidth == 10 || byteWidth == 11)
|
||||
return 32; // 10 10 10 2 or 11 11 10
|
||||
return 4; // 10 10 10 2 or 11 11 10
|
||||
|
||||
return byteWidth * numComps;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user