summaryrefslogtreecommitdiff
path: root/docs/README.QUAKE
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-09 09:59:49 -0700
committerBrian Paul <brianp@vmware.com>2009-01-09 09:59:49 -0700
commitca03e881a8d8fa3e36a601238559c20311373633 (patch)
tree4d33d0bd8366babbac96e0d3f744c8e8ab46fa76 /docs/README.QUAKE
parent4497a5a57d0fdb5c5ec15750e477aeb49f5e453d (diff)
glsl: make minimum struct size = 2, not 1
1-component structs such as "struct foo { float x; }" could get placed at any position within a register. This caused some trouble computing the field offset which assumed all struct objects were placed at R.x. It would be unusual to hit this case in normal shaders.
Diffstat (limited to 'docs/README.QUAKE')
0 files changed, 0 insertions, 0 deletions