mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Return view format stride in bytes not in bits
This commit is contained in:
@@ -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