gallium: use gl shader types as the basis for the gallium ones
This should enable a rename transistion. Trace needs to swap over to a non-generated version, but that should be fine. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17747>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
#include "p_compiler.h"
|
||||
|
||||
#include "compiler/shader_enums.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -546,19 +548,6 @@ enum pipe_resource_usage {
|
||||
PIPE_USAGE_STAGING, /* fast CPU access */
|
||||
};
|
||||
|
||||
/**
|
||||
* Shaders
|
||||
*/
|
||||
enum pipe_shader_type {
|
||||
PIPE_SHADER_VERTEX,
|
||||
PIPE_SHADER_TESS_CTRL,
|
||||
PIPE_SHADER_TESS_EVAL,
|
||||
PIPE_SHADER_GEOMETRY,
|
||||
PIPE_SHADER_FRAGMENT,
|
||||
PIPE_SHADER_COMPUTE,
|
||||
PIPE_SHADER_TYPES,
|
||||
};
|
||||
|
||||
/**
|
||||
* Primitive types:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user