mesa/src/intel/blorp
Jason Ekstrand f9fd976e8a i965/miptree: Store fast clear colors in an isl_color_value
This commit, out of necessity, makes a number of changes at once:

 1) Changes intel_mipmap_tree to store the clear color for both color
    and depth as an isl_color_value.

 2) Changes the depth/stencil emit code to do the format conversion of
    the depth clear value on Haswell and earlier instead of pulling a
    uint32_t directly from the miptree.

 3) Changes ISL's depth/stencil emit code to perform the format
    conversion of the depth clear value on Haswell and earlier instead
    of assuming that the depth value in the float is pre-converted.

 4) Changes blorp to pass the depth value through as a float.

 5) Changes the Vulkan driver to pass the depth value to blorp as a
    float rather than a uint.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chadversary@chromium.org>
2017-06-07 08:54:54 -07:00
..
TODO intel/blorp: Add a TODO file 2016-09-12 10:14:49 -07:00
blorp.c i965: Add blorp support for gen4-5 2017-05-26 07:58:01 -07:00
blorp.h intel/blorp: make upload_shader() return a bool indicating success or failure 2017-03-16 11:40:05 +01:00
blorp_blit.c intel/isl: Add a helper for getting the byte/tile offset of a subimage 2017-06-01 15:33:58 -07:00
blorp_clear.c i965: Use BLORP for color clears on gen4-5 2017-05-26 07:58:01 -07:00
blorp_genX_exec.h i965/miptree: Store fast clear colors in an isl_color_value 2017-06-07 08:54:54 -07:00
blorp_priv.h intel/blorp: Set additional brw_wm_prog_key fields on gen4-5 2017-05-26 07:58:01 -07:00