/******************************************************************************
 * alphtest.h                                                                 *
 * Header file for Rage 128 Chapter 6 sample code                             *
 * Data type definitions and function declarations for alphtest.c.            * 
 *                                                                            *
 * Copyright (c) 1999 ATI Technologies Inc.  All rights reserved.             *
 ******************************************************************************/

#include <stdio.h>
#include "..\..\util\main.h"

#ifndef _ATEST_H
#define _ATEST_H

// alpha test state enumeration.

typedef enum {
	ALPHATESTSTATE_ENABLE = 0,
	ALPHATESTSTATE_CMP,
	ALPHATESTSTATE_REF,
	ALPHATESTSTATE_FORCE_DWORD = 0xffffffff
} EALPHATESTSTATE;

// Functions.

BOOL R128_SetAlphaTestState (EALPHATESTSTATE eAlphaTestState, DWORD data);

#endif // _ATEST_H
