2010-09-09 09:31:13 -06:00
|
|
|
/*
|
|
|
|
* Copyright 2009 Advanced Micro Devices, Inc.
|
|
|
|
* Copyright 2009 Red Hat Inc.
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
|
|
* to deal in the Software without restriction, including without limitation
|
|
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice (including the next
|
|
|
|
* paragraph) shall be included in all copies or substantial portions of the
|
|
|
|
* Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
* THE COPYRIGHT HOLDER(S) AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
|
* DEALINGS IN THE SOFTWARE.
|
|
|
|
*
|
|
|
|
*/
|
2009-09-07 18:10:24 -06:00
|
|
|
|
|
|
|
#ifndef R600_BLIT_SHADERS_H
|
|
|
|
#define R600_BLIT_SHADERS_H
|
|
|
|
|
|
|
|
extern const u32 r6xx_ps[];
|
|
|
|
extern const u32 r6xx_vs[];
|
|
|
|
extern const u32 r7xx_default_state[];
|
|
|
|
extern const u32 r6xx_default_state[];
|
|
|
|
|
|
|
|
|
|
|
|
extern const u32 r6xx_ps_size, r6xx_vs_size;
|
|
|
|
extern const u32 r6xx_default_size, r7xx_default_size;
|
|
|
|
|
2012-08-15 16:07:16 -06:00
|
|
|
__pure uint32_t int2float(uint32_t x);
|
2009-09-07 18:10:24 -06:00
|
|
|
#endif
|