Path: blob/21.2-virgl/src/gallium/drivers/r300/compiler/r500_fragprog.h
4574 views
/*1* Copyright (C) 2005 Ben Skeggs.2*3* All Rights Reserved.4*5* Permission is hereby granted, free of charge, to any person obtaining6* a copy of this software and associated documentation files (the7* "Software"), to deal in the Software without restriction, including8* without limitation the rights to use, copy, modify, merge, publish,9* distribute, sublicense, and/or sell copies of the Software, and to10* permit persons to whom the Software is furnished to do so, subject to11* the following conditions:12*13* The above copyright notice and this permission notice (including the14* next paragraph) shall be included in all copies or substantial15* portions of the Software.16*17* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,18* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF19* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.20* IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE21* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION22* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION23* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.24*25*/2627/*28* Authors:29* Ben Skeggs <[email protected]>30* Jerome Glisse <[email protected]>31*/32#ifndef __R500_FRAGPROG_H_33#define __R500_FRAGPROG_H_3435#include "radeon_compiler.h"36#include "radeon_swizzle.h"3738extern void r500BuildFragmentProgramHwCode(struct radeon_compiler *c, void *user);3940extern void r500FragmentProgramDump(struct radeon_compiler *c, void *user);4142extern struct rc_swizzle_caps r500_swizzle_caps;4344extern int r500_transform_IF(45struct radeon_compiler * c,46struct rc_instruction * inst_if,47void* data);4849#endif505152