"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/amd/compiler/aco_util.h" between
mesa-21.2.0-rc1.tar.xz and mesa-21.2.0-rc2.tar.xz

About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code). Release candidate.

aco_util.h  (mesa-21.2.0-rc1.tar.xz):aco_util.h  (mesa-21.2.0-rc2.tar.xz)
skipping to change at line 32 skipping to change at line 32
* IN THE SOFTWARE. * IN THE SOFTWARE.
* *
*/ */
#ifndef ACO_UTIL_H #ifndef ACO_UTIL_H
#define ACO_UTIL_H #define ACO_UTIL_H
#include "util/bitscan.h" #include "util/bitscan.h"
#include <cassert> #include <cassert>
#include <cstddef>
#include <iterator> #include <iterator>
#include <vector> #include <vector>
namespace aco { namespace aco {
/*! \brief Definition of a span object /*! \brief Definition of a span object
* *
* \details A "span" is an "array view" type for holding a view of contiguo us * \details A "span" is an "array view" type for holding a view of contiguo us
* data. The "span" object does not own the data itself. * data. The "span" object does not own the data itself.
*/ */
skipping to change at line 54 skipping to change at line 55
using value_type = T; using value_type = T;
using pointer = value_type*; using pointer = value_type*;
using const_pointer = const value_type*; using const_pointer = const value_type*;
using reference = value_type&; using reference = value_type&;
using const_reference = const value_type&; using const_reference = const value_type&;
using iterator = pointer; using iterator = pointer;
using const_iterator = const_pointer; using const_iterator = const_pointer;
using reverse_iterator = std::reverse_iterator<iterator>; using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>; using const_reverse_iterator = std::reverse_iterator<const_iterator>;
using size_type = uint16_t; using size_type = uint16_t;
using difference_type = ptrdiff_t; using difference_type = std::ptrdiff_t;
/*! \brief Compiler generated default constructor /*! \brief Compiler generated default constructor
*/ */
constexpr span() = default; constexpr span() = default;
/*! \brief Constructor taking a pointer and the length of the span /*! \brief Constructor taking a pointer and the length of the span
* \param[in] data Pointer to the underlying data array * \param[in] data Pointer to the underlying data array
* \param[in] length The size of the span * \param[in] length The size of the span
*/ */
constexpr span(uint16_t offset_, const size_type length_) : offset{offset_}, length{length_} {} constexpr span(uint16_t offset_, const size_type length_) : offset{offset_}, length{length_} {}
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)