Created
October 31, 2017 21:19
-
-
Save MehdiNS/ef42b9857af8153d639d65f207e5fea0 to your computer and use it in GitHub Desktop.
HLSL constant buffer packing candy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; cbuffer cbuf1 | |
; { | |
; | |
; struct cbuf1 | |
; { | |
; | |
; float2 tab1[256]; ; Offset: 0 | |
; | |
; } cbuf ; Offset: 0 Size: 4088 | |
; | |
; } | |
; | |
; cbuffer cbuf2 | |
; { | |
; | |
; struct cbuf2 | |
; { | |
; | |
; float4 tab2[256]; ; Offset: 0 | |
; | |
; } cbuf2 ; Offset: 0 Size: 4096 | |
; | |
; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment