Skip to content
Snippets Groups Projects
  1. May 17, 2012
  2. May 16, 2012
  3. May 15, 2012
    • Homer Hsing's avatar
    • Jose Fonseca's avatar
      gallivm: Add MCRegisterInfo.h to silence benign warnings about missing implementation. · 563489e5
      Jose Fonseca authored and Jose Fonseca's avatar Jose Fonseca committed
      Trivial.
      563489e5
    • Paul Berry's avatar
      i965/blorp: Move exec() out of brw_blorp_params. · 6335e0b0
      Paul Berry authored
      
      No functional change.  This patch replaces the
      brw_blorp_params::exec() method with a global function
      brw_blorp_exec() that performs the operation described by the params
      data structure.
      
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      6335e0b0
    • Paul Berry's avatar
      i965/gen6: Initial implementation of MSAA. · 19e9b246
      Paul Berry authored
      This patch enables MSAA for Gen6, by modifying intel_mipmap_tree to
      understand multisampled buffers, adapting the rendering pipeline setup
      to enable multisampled rendering, and adding multisample resolve
      operations to brw_blorp_blit.cpp. Some preparation work is also
      included for Gen7, but it is not yet enabled.
      
      MSAA support is still fairly preliminary.  In particular, the
      following are not yet supported:
      - Fully general blits between MSAA and non-MSAA buffers.
      - Formats other than RGBA8, DEPTH24, and STENCIL8.
      - Centroid interpolation.
      - Coverage parameters (glSampleCoverage, GL_SAMPLE_ALPHA_TO_COVERAGE,
        GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_VALUE,
        GL_SAMPLE_COVERAGE_INVERT).
      
      Fixes piglit tests "EXT_framebuffer_multisample/accuracy" on
      i965/Gen6.
      
      v2:
      - In intel_alloc_renderbuffer_storage(), quantize the requested number
        of samples to the next higher sample count supported by the
        hardware.  This ensures that a query of GL_SAMPLES will return the
        correct value.  It also ensures that MSAA is fully disabled on Gen7
        for now (since Gen7 MSAA support doesn't work yet).
      - When reading from a non-MSAA surface, ensure that s_is_zero is true
        so that we won't try to read from a nonexistent sample.
      19e9b246
Loading