mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
i965/fs: Allow an execution size of 32.
In a few commits, we'll start emitting an add(32) instruction on some platforms. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
45a1348612
commit
b5a5b63548
2 changed files with 2 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ validate_reg(const struct brw_context *brw, brw_inst *inst, struct brw_reg reg)
|
|||
const int hstride_for_reg[] = {0, 1, 2, 4};
|
||||
const int vstride_for_reg[] = {0, 1, 2, 4, 8, 16, 32};
|
||||
const int width_for_reg[] = {1, 2, 4, 8, 16};
|
||||
const int execsize_for_reg[] = {1, 2, 4, 8, 16};
|
||||
const int execsize_for_reg[] = {1, 2, 4, 8, 16, 32};
|
||||
int width, hstride, vstride, execsize;
|
||||
|
||||
if (reg.file == BRW_IMMEDIATE_VALUE) {
|
||||
|
|
|
|||
|
|
@ -1630,6 +1630,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width)
|
|||
}
|
||||
break;
|
||||
case 16:
|
||||
case 32:
|
||||
brw_set_default_compression_control(p, BRW_COMPRESSION_COMPRESSED);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue