1af69d88dSmrg/* 2af69d88dSmrg * Copyright © 2014 Intel Corporation 3af69d88dSmrg * 4af69d88dSmrg * Permission is hereby granted, free of charge, to any person obtaining a 5af69d88dSmrg * copy of this software and associated documentation files (the "Software"), 6af69d88dSmrg * to deal in the Software without restriction, including without limitation 7af69d88dSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8af69d88dSmrg * and/or sell copies of the Software, and to permit persons to whom the 9af69d88dSmrg * Software is furnished to do so, subject to the following conditions: 10af69d88dSmrg * 11af69d88dSmrg * The above copyright notice and this permission notice (including the next 12af69d88dSmrg * paragraph) shall be included in all copies or substantial portions of the 13af69d88dSmrg * Software. 14af69d88dSmrg * 15af69d88dSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16af69d88dSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17af69d88dSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19af69d88dSmrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20af69d88dSmrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21af69d88dSmrg * DEALINGS IN THE SOFTWARE. 22af69d88dSmrg */ 23af69d88dSmrg 24af69d88dSmrg#ifndef COMPUTE_H 25af69d88dSmrg#define COMPUTE_H 26af69d88dSmrg 27af69d88dSmrg 28af69d88dSmrg#include "glheader.h" 29af69d88dSmrg 3001e04c3fSmrgextern void GLAPIENTRY 3101e04c3fSmrg_mesa_DispatchCompute_no_error(GLuint num_groups_x, GLuint num_groups_y, 3201e04c3fSmrg GLuint num_groups_z); 33af69d88dSmrgextern void GLAPIENTRY 34af69d88dSmrg_mesa_DispatchCompute(GLuint num_groups_x, 35af69d88dSmrg GLuint num_groups_y, 36af69d88dSmrg GLuint num_groups_z); 37af69d88dSmrg 3801e04c3fSmrgextern void GLAPIENTRY 3901e04c3fSmrg_mesa_DispatchComputeIndirect_no_error(GLintptr indirect); 40af69d88dSmrgextern void GLAPIENTRY 41af69d88dSmrg_mesa_DispatchComputeIndirect(GLintptr indirect); 42af69d88dSmrg 4301e04c3fSmrgextern void GLAPIENTRY 4401e04c3fSmrg_mesa_DispatchComputeGroupSizeARB_no_error(GLuint num_groups_x, 4501e04c3fSmrg GLuint num_groups_y, 4601e04c3fSmrg GLuint num_groups_z, 4701e04c3fSmrg GLuint group_size_x, 4801e04c3fSmrg GLuint group_size_y, 4901e04c3fSmrg GLuint group_size_z); 5001e04c3fSmrgextern void GLAPIENTRY 5101e04c3fSmrg_mesa_DispatchComputeGroupSizeARB(GLuint num_groups_x, GLuint num_groups_y, 5201e04c3fSmrg GLuint num_groups_z, GLuint group_size_x, 5301e04c3fSmrg GLuint group_size_y, GLuint group_size_z); 5401e04c3fSmrg 55af69d88dSmrg#endif 56