summaryrefslogtreecommitdiff
path: root/src/shaders/utils/end_thread.asm
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-03-08 12:58:37 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-03-08 13:00:06 +0800
commitf5bb7437f0712f859d9ab8cc76cfddd1da4ce905 (patch)
tree7fdc4611c7555bc7e08ccb1235b8c8fa0948e3cd /src/shaders/utils/end_thread.asm
parent695c0b25d4f77d0b443ec97cfcb42f59b4df7e71 (diff)
downloadlibva-intel-driver-f5bb7437f0712f859d9ab8cc76cfddd1da4ce905.tar.gz
libva-intel-driver-f5bb7437f0712f859d9ab8cc76cfddd1da4ce905.tar.bz2
libva-intel-driver-f5bb7437f0712f859d9ab8cc76cfddd1da4ce905.zip
New shader for MFC batchbuffer
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/shaders/utils/end_thread.asm')
-rw-r--r--src/shaders/utils/end_thread.asm29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/shaders/utils/end_thread.asm b/src/shaders/utils/end_thread.asm
new file mode 100644
index 0000000..c299d28
--- /dev/null
+++ b/src/shaders/utils/end_thread.asm
@@ -0,0 +1,29 @@
+/*
+ * Copyright © 2012 Intel Corporation
+ *
+ * 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 AUTHORS OR COPYRIGHT HOLDERS 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.
+ *
+ * Authors:
+ * Xiang Haihao <haihao.xiang@intel.com>
+ */
+
+__EXIT:
+ mov (8) msg_reg0<1>:ud r0<8,8,1>:ud {align1} ;
+ send (16) msg_ind acc0<1>ud null thread_spawner(0, 0, 1) mlen 1 rlen 0 {align1 EOT} ;