aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-08-06 20:50:47 +0200
committerRoland Scheidegger <[email protected]>2013-08-08 18:55:57 +0200
commitce0e66af0ad69607aedd6456081d369cc1bba33e (patch)
treeebddfe53c63b1d157812fd0d9c46c91669b4617f /src/gallium/docs
parent883987503fc79691398eb024f37480ff083805a3 (diff)
gallivm: fix out-of-bounds behavior for fetch/ld
For d3d10 and ARB_robust_buffer_access_behavior, we are required to return 0 for out-of-bounds coordinates (for which we can just enable the code already there was just disabled). Additionally, also need to return 0 for out-of-bounds mip level and out-of-bounds layer. This changes the logic so instead of clamping the level/layer, an out-of-bound mask is computed instead in this case (actual clamping then can be omitted just like with coordinates, since we set the fetch offset to zero if that happens anyway). Reviewed-by: Zack Rusin <[email protected]>
Diffstat (limited to 'src/gallium/docs')
0 files changed, 0 insertions, 0 deletions