summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h')
-rw-r--r--src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h b/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h
index 63d246eedae..49a46a94abd 100644
--- a/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h
+++ b/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.h
@@ -1,5 +1,6 @@
/*
* Copyright 2011 Tom Stellard <tstellar@gmail.com>
+ * Copyright 2013 Advanced Micro Devices, Inc.
*
* All Rights Reserved.
*
@@ -23,8 +24,11 @@
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
+ * Author: Tom Stellard <thomas.stellard@amd.com>
*/
+#include "radeon_compiler.h"
+
int init_rc_normal_src(
struct rc_instruction * inst,
unsigned int src_index,
@@ -34,6 +38,18 @@ int init_rc_normal_dst(
struct rc_instruction * inst,
const char * dst_str);
+int parse_rc_normal_instruction(
+ struct rc_instruction * inst,
+ const char * inst_str);
+
int init_rc_normal_instruction(
struct rc_instruction * inst,
const char * inst_str);
+
+void add_instruction(struct radeon_compiler *c, const char * inst_string);
+
+void init_compiler(
+ struct radeon_compiler *c,
+ enum rc_program_type program_type,
+ unsigned is_r500,
+ unsigned is_r400);