summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_discard_simplification.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-12-05 13:52:16 -0800
committerPaul Berry <[email protected]>2011-12-20 14:32:16 -0800
commitfd5d0c8b12a0e144aa8e95540c0da2161d8e089a (patch)
tree2b7a8be55f54318f6757f15ca729b8b757dff1a4 /src/glsl/opt_discard_simplification.cpp
parent38b118d49ddbc8bd5d96cc0d23d681887fca045e (diff)
i965 gen6+: Use 1-wide null operands for IF instructions
The Sandy Bridge PRM, volume 4, part 2, section 5.3.10 ("5.3.10 Register Region Restrictions") contains the following restriction on the execution size and operand width of instructions: "3. ExecSize must be equal to or greater than Width." When emitting an IF instruction in single program flow mode on Gen6+, we use an ExecSize of 1, therefore the Width of each operand must also be 1. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/opt_discard_simplification.cpp')
0 files changed, 0 insertions, 0 deletions