diff options
author | Jason Ekstrand <[email protected]> | 2017-05-12 20:24:46 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-26 07:58:01 -0700 |
commit | 0ed6f196fc2a35bf95112d76b9e7ea8f0152217a (patch) | |
tree | 2463d942724dbac8a53b945be4f28ce6ef48dc87 /src/intel/blorp/blorp_clear.c | |
parent | 8bce7bda45f6f46197e4851b83afd73c3198111c (diff) |
intel/blorp: Add support for gen4-5 SF programs
As part of enabling support for SF programs, we plumb the SF URB size
through to emit_urb_config. For now, it's always zero but, on gen4, it
may be something larger.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp_clear.c')
-rw-r--r-- | src/intel/blorp/blorp_clear.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index a9eb6b95e45..40a1a10b3da 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -419,6 +419,9 @@ blorp_clear(struct blorp_batch *batch, use_simd16_replicated_data)) return; + if (!blorp_ensure_sf_program(batch->blorp, ¶ms)) + return; + while (num_layers > 0) { brw_blorp_surface_info_init(batch->blorp, ¶ms.dst, surf, level, start_layer, format, true); |