Searched refs:shader (Results 1 - 25 of 87) sorted by relevance

1234

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Dshader.c36 struct d3d8_vertex_shader *shader = parent; local
37 d3d8_vertex_declaration_destroy(shader->vertex_declaration);
38 HeapFree(GetProcessHeap(), 0, shader); local
41 void d3d8_vertex_shader_destroy(struct d3d8_vertex_shader *shader) argument
43 TRACE("shader %p.\n", shader);
45 if (shader->wined3d_shader)
48 wined3d_shader_decref(shader->wined3d_shader);
53 d3d8_vertexshader_wined3d_object_destroyed(shader);
89 HRESULT d3d8_vertex_shader_init(struct d3d8_vertex_shader *shader, struc argument
147 d3d8_pixel_shader_destroy(struct d3d8_pixel_shader *shader) argument
161 d3d8_pixel_shader_init(struct d3d8_pixel_shader *shader, struct d3d8_device *device, const DWORD *byte_code, DWORD shader_handle) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Dshader.c59 struct d3d9_vertexshader *shader = impl_from_IDirect3DVertexShader9(iface); local
60 ULONG refcount = InterlockedIncrement(&shader->refcount);
66 IDirect3DDevice9Ex_AddRef(shader->parent_device);
68 wined3d_shader_incref(shader->wined3d_shader);
77 struct d3d9_vertexshader *shader = impl_from_IDirect3DVertexShader9(iface); local
78 ULONG refcount = InterlockedDecrement(&shader->refcount);
84 IDirect3DDevice9Ex *device = shader->parent_device;
87 wined3d_shader_decref(shader->wined3d_shader);
99 struct d3d9_vertexshader *shader = impl_from_IDirect3DVertexShader9(iface); local
103 *device = (IDirect3DDevice9 *)shader
113 struct d3d9_vertexshader *shader = impl_from_IDirect3DVertexShader9(iface); local
146 vertexshader_init(struct d3d9_vertexshader *shader, struct d3d9_device *device, const DWORD *byte_code) argument
203 struct d3d9_pixelshader *shader = impl_from_IDirect3DPixelShader9(iface); local
221 struct d3d9_pixelshader *shader = impl_from_IDirect3DPixelShader9(iface); local
243 struct d3d9_pixelshader *shader = impl_from_IDirect3DPixelShader9(iface); local
257 struct d3d9_pixelshader *shader = impl_from_IDirect3DPixelShader9(iface); local
290 pixelshader_init(struct d3d9_pixelshader *shader, struct d3d9_device *device, const DWORD *byte_code) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dshader.c46 static void shader_chache_put(PVBOXEXT_HASHCACHE pCache, struct wined3d_shader *shader);
269 ERR("Failed to allocate shader buffer memory.\n");
297 ERR("The buffer allocated for the shader program string is too small at %d bytes.\n", buffer->buffer_size);
343 static void shader_init(struct wined3d_shader *shader, struct wined3d_device *device, argument
346 shader->ref = 1;
347 shader->device = device;
348 shader->parent = parent;
349 shader->parent_ops = parent_ops;
350 list_init(&shader->linked_programs);
351 list_add_head(&device->shaders, &shader
393 shader_record_register_usage(struct wined3d_shader *shader, struct wined3d_shader_reg_maps *reg_maps, const struct wined3d_shader_register *reg, enum wined3d_shader_type shader_type) argument
502 shader_get_registers_used(struct wined3d_shader *shader, const struct wined3d_shader_frontend *fe, struct wined3d_shader_reg_maps *reg_maps, struct wined3d_shader_signature_element *input_signature, struct wined3d_shader_signature_element *output_signature, const DWORD *byte_code, DWORD constf_size) argument
1246 shader_generate_main(const struct wined3d_shader *shader, struct wined3d_shader_buffer *buffer, const struct wined3d_shader_reg_maps *reg_maps, const DWORD *byte_code, void *backend_ctx) argument
1503 shader_cleanup(struct wined3d_shader *shader) argument
1534 shader_none_destroy(struct wined3d_shader *shader) argument
1650 shader_set_function(struct wined3d_shader *shader, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, DWORD float_const_count, enum wined3d_shader_type type, unsigned int max_version) argument
1733 wined3d_shader_incref(struct wined3d_shader *shader) argument
1743 wined3d_shader_decref(struct wined3d_shader *shader) argument
1763 wined3d_shader_get_parent(const struct wined3d_shader *shader) argument
1770 wined3d_shader_get_byte_code(const struct wined3d_shader *shader, void *byte_code, UINT *byte_code_size) argument
1795 wined3d_shader_set_local_constants_float(struct wined3d_shader *shader, UINT start_idx, const float *src_data, UINT count) argument
1832 find_vs_compile_args(const struct wined3d_state *state, const struct wined3d_shader *shader, struct vs_compile_args *args) argument
1856 vshader_get_input(const struct wined3d_shader *shader, BYTE usage_req, BYTE usage_idx_req, unsigned int *regnum) argument
1876 vertexshader_set_limits(struct wined3d_shader *shader) argument
1942 vertexshader_init(struct wined3d_shader *shader, struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, unsigned int max_version) argument
1993 geometryshader_set_limits(struct wined3d_shader *shader) argument
2017 geometryshader_init(struct wined3d_shader *shader, struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, unsigned int max_version) argument
2040 find_ps_compile_args(const struct wined3d_state *state, const struct wined3d_shader *shader, struct ps_compile_args *args) argument
2216 pixelshader_set_limits(struct wined3d_shader *shader) argument
2289 pixelshader_init(struct wined3d_shader *shader, struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, unsigned int max_version) argument
2357 pixelshader_update_samplers(struct wined3d_shader *shader, WORD tex_types) argument
2387 wined3d_shader_create_gs(struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version) argument
2415 wined3d_shader_create_ps(struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version) argument
2447 wined3d_shader_create_vs(struct wined3d_device *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version) argument
2481 shader_reinit(struct wined3d_shader *shader, struct wined3d_device *device, void *parent, const struct wined3d_parent_ops *parent_ops) argument
2504 struct wined3d_shader * shader = (struct wined3d_shader *)pvKey; local
2551 struct wined3d_shader *shader = VBOX_SHADER_FROM_CACHE_ENTRY(pEntry); local
2555 HeapFree(GetProcessHeap(), 0, shader); local
2568 shader_chache_put(PVBOXEXT_HASHCACHE pCache, struct wined3d_shader *shader) argument
2579 shader_chache_get(PVBOXEXT_HASHCACHE pCache, struct wined3d_shader *shader) argument
2593 HeapFree(GetProcessHeap(), 0, shader); local
[all...]
H A Darb_program_shader.c88 ERR("Failed to allocate %u bytes for shader source.\n", source_size);
111 static const char *arb_get_helper_value(enum wined3d_shader_type shader, enum arb_helper_value value) argument
113 if (shader == WINED3D_SHADER_TYPE_GEOMETRY)
119 if (shader == WINED3D_SHADER_TYPE_PIXEL)
143 FIXME("Unmanaged %s shader helper constant requested: %u\n",
144 shader == WINED3D_SHADER_TYPE_PIXEL ? "pixel" : "vertex", value);
381 * some immediate values into the shader. */
394 static unsigned int shader_arb_load_constantsF(const struct wined3d_shader *shader, argument
415 if (target_type == GL_FRAGMENT_PROGRAM_ARB && shader->reg_maps.shader_version.major == 1)
484 if (shader
775 shader_generate_arb_declarations(const struct wined3d_shader *shader, const struct wined3d_shader_reg_maps *reg_maps, struct wined3d_shader_buffer *buffer, const struct wined3d_gl_info *gl_info, DWORD *num_clipplanes, const struct shader_arb_ctx_priv *ctx) argument
1011 const struct wined3d_shader *shader = ins->ctx->shader; local
1395 const struct wined3d_shader *shader; local
1793 const struct wined3d_shader *shader = ins->ctx->shader; local
3282 const struct wined3d_shader *shader = ins->ctx->shader; local
3489 find_loop_control_values(const struct wined3d_shader *shader, DWORD idx) argument
3503 init_ps_input(const struct wined3d_shader *shader, const struct arb_ps_compile_args *args, struct shader_arb_ctx_priv *priv) argument
3586 shader_arb_generate_pshader(const struct wined3d_shader *shader, const struct wined3d_gl_info *gl_info, struct wined3d_shader_buffer *buffer, const struct arb_ps_compile_args *args, struct arb_ps_compiled_shader *compiled) argument
3999 init_output_registers(const struct wined3d_shader *shader, const struct wined3d_shader_signature_element *ps_input_sig, struct shader_arb_ctx_priv *priv_ctx, struct arb_vs_compiled_shader *compiled) argument
4173 shader_arb_generate_vshader(const struct wined3d_shader *shader, const struct wined3d_gl_info *gl_info, struct wined3d_shader_buffer *buffer, const struct arb_vs_compile_args *args, struct arb_vs_compiled_shader *compiled, const struct wined3d_shader_signature_element *ps_input_sig) argument
4332 find_arb_pshader(struct wined3d_shader *shader, const struct arb_ps_compile_args *args) argument
4429 find_arb_vshader(struct wined3d_shader *shader, const struct arb_vs_compile_args *args, const struct wined3d_shader_signature_element *ps_input_sig) argument
4517 find_arb_ps_compile_args(const struct wined3d_state *state, const struct wined3d_context *context, const struct wined3d_shader *shader, struct arb_ps_compile_args *args) argument
4573 find_arb_vs_compile_args(const struct wined3d_state *state, const struct wined3d_context *context, const struct wined3d_shader *shader, struct arb_vs_compile_args *args) argument
4864 shader_arb_destroy(struct wined3d_shader *shader) argument
5291 get_bool_const(const struct wined3d_shader_instruction *ins, const struct wined3d_shader *shader, DWORD idx) argument
5322 get_loop_control_const(const struct wined3d_shader_instruction *ins, const struct wined3d_shader *shader, UINT idx, struct wined3d_shader_loop_control *loop_control) argument
5489 const struct wined3d_shader *shader = ins->ctx->shader; local
5735 GLuint shader; member in struct:arbfp_ffp_desc
7048 GLenum shader; local
7155 GLenum shader; local
7307 GLenum shader; local
[all...]
H A Dglsl_shader.c2 * GLSL pixel and vertex shader implementation
34 * D3D shader asm has swizzles on source parameters, and write masks for
97 /* GLSL shader private data */
252 FIXME("Unhandled shader type %#x.\n", type);
317 WARN("Info log received from GLSL shader #%u:\n", obj);
322 FIXME("Info log received from GLSL shader #%u:\n", obj);
330 static void shader_glsl_compile(const struct wined3d_gl_info *gl_info, GLhandleARB shader, const char *src) argument
332 TRACE("Compiling shader object %u.\n", shader);
333 GL_EXTCALL(glShaderSourceARB(shader,
615 shader_glsl_load_constantsF(const struct wined3d_shader *shader, const struct wined3d_gl_info *gl_info, const float *constants, const GLint *constant_locations, const struct constant_heap *heap, unsigned char *stack, UINT version) argument
643 shader_glsl_load_constantsI(const struct wined3d_shader *shader, const struct wined3d_gl_info *gl_info, const GLint locations[MAX_CONST_I], const int *constants, WORD constants_set) argument
680 shader_glsl_load_constantsB(const struct wined3d_shader *shader, const struct wined3d_gl_info *gl_info, GLhandleARB programId, const BOOL *constants, WORD constants_set) argument
993 shader_generate_glsl_declarations(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, const struct wined3d_shader *shader, const struct wined3d_shader_reg_maps *reg_maps, const struct shader_glsl_ctx_priv *ctx_priv) argument
1441 const struct wined3d_shader *shader = ins->ctx->shader; local
3304 const struct wined3d_shader *shader = ins->ctx->shader; local
3397 const struct wined3d_shader *shader = ins->ctx->shader; local
4164 shader_glsl_input_pack(const struct wined3d_shader *shader, struct wined3d_shader_buffer *buffer, const struct wined3d_shader_signature_element *input_signature, const struct wined3d_shader_reg_maps *reg_maps, enum vertexprocessing_mode vertexprocessing) argument
4529 shader_glsl_generate_pshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, const struct wined3d_shader *shader, const struct ps_compile_args *args, struct ps_np2fixup_info *np2fixup_info) argument
4592 shader_glsl_generate_vshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, const struct wined3d_shader *shader, const struct vs_compile_args *args) argument
4664 shader_glsl_generate_geometry_shader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, const struct wined3d_shader *shader) argument
4695 find_glsl_pshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, struct wined3d_shader *shader, const struct ps_compile_args *args, const struct ps_np2fixup_info **np2fixup_info) argument
4777 find_glsl_vshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, struct wined3d_shader *shader, const struct vs_compile_args *args) argument
4843 find_glsl_geometry_shader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, struct wined3d_shader *shader) argument
5712 struct glsl_ffp_vertex_shader *shader; local
6230 shader_glsl_destroy(struct wined3d_shader *shader) argument
6786 struct glsl_ffp_vertex_shader *shader = WINE_RB_ENTRY_VALUE(entry, local
6801 HeapFree(GetProcessHeap(), 0, shader); local
7064 struct glsl_ffp_fragment_shader *shader = WINE_RB_ENTRY_VALUE(entry, local
7079 HeapFree(GetProcessHeap(), 0, shader); local
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dshader.c227 ERR("Failed to allocate shader buffer memory.\n");
249 ERR("The buffer allocated for the shader program string "
287 static void shader_init(struct IWineD3DBaseShaderClass *shader, IWineD3DDeviceImpl *device, argument
290 shader->ref = 1;
291 shader->device = (IWineD3DDevice *)device;
292 shader->parent = parent;
293 shader->parent_ops = parent_ops;
294 list_init(&shader->linked_programs);
295 list_add_head(&device->shaders, &shader->shader_list_entry);
337 static void shader_record_register_usage(IWineD3DBaseShaderImpl *shader, struc argument
450 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)iface; local
1098 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)iface; local
1400 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)iface; local
1473 shader_get_parent(IWineD3DBaseShaderImpl *shader, IUnknown **parent) argument
1480 shader_get_function(IWineD3DBaseShaderImpl *shader, void *data, UINT *data_size) argument
1501 shader_set_function(IWineD3DBaseShaderImpl *shader, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, DWORD float_const_count) argument
1568 IWineD3DVertexShaderImpl *shader = (IWineD3DVertexShaderImpl *)iface; local
1582 IWineD3DVertexShaderImpl *shader = (IWineD3DVertexShaderImpl *)iface; local
1623 IWineD3DVertexShaderImpl *shader =(IWineD3DVertexShaderImpl *)iface; local
1663 find_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args) argument
1684 IWineD3DVertexShaderImpl *shader = (IWineD3DVertexShaderImpl *)iface; local
1702 vertexshader_set_limits(IWineD3DVertexShaderImpl *shader) argument
1776 vertexshader_init(IWineD3DVertexShaderImpl *shader, IWineD3DDeviceImpl *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
1875 struct wined3d_geometryshader *shader = (struct wined3d_geometryshader *)iface; local
1885 struct wined3d_geometryshader *shader = (struct wined3d_geometryshader *)iface; local
1894 HeapFree(GetProcessHeap(), 0, shader); local
1928 geometryshader_init(struct wined3d_geometryshader *shader, IWineD3DDeviceImpl *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
1972 IWineD3DPixelShaderImpl *shader = (IWineD3DPixelShaderImpl *)iface; local
1982 IWineD3DPixelShaderImpl *shader = (IWineD3DPixelShaderImpl *)iface; local
2031 find_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args) argument
2131 pixelshader_set_limits(IWineD3DPixelShaderImpl *shader) argument
2219 pixelshader_init(IWineD3DPixelShaderImpl *shader, IWineD3DDeviceImpl *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
2334 shader_reinit(struct IWineD3DBaseShaderClass *shader, IWineD3DDeviceImpl *device, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
[all...]
H A Dglsl_shader.c2 * GLSL pixel and vertex shader implementation
34 * D3D shader asm has swizzles on source parameters, and write masks for
103 /* GLSL shader private data */
262 "Vertex shader was successfully compiled to run on hardware.\n", /* fglrx */
263 "Fragment shader was successfully compiled to run on hardware.\n", /* fglrx, with \n */
264 "Fragment shader was successfully compiled to run on hardware.", /* fglrx, no \n */
265 "Fragment shader(s) linked, vertex shader(s) linked. \n ", /* fglrx, with \n */
266 "Fragment shader(s) linked, vertex shader(
318 shader_glsl_dump_shader_source(const struct wined3d_gl_info *gl_info, GLhandleARB shader) argument
770 get_fixup_info(const IWineD3DPixelShaderImpl *shader, UINT inp2fixup_info) argument
2984 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3048 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3066 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3171 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3495 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3531 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3556 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3575 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3607 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3642 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
4265 hardcode_local_constants(IWineD3DBaseShaderImpl *shader, const struct wined3d_gl_info *gl_info, GLhandleARB programId, char prefix) argument
4471 find_glsl_pshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, IWineD3DPixelShaderImpl *shader, const struct ps_compile_args *args, UINT *inp2fixup_info ) argument
4553 find_glsl_vshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, IWineD3DVertexShaderImpl *shader, const struct vs_compile_args *args) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dshader.c227 ERR("Failed to allocate shader buffer memory.\n");
249 ERR("The buffer allocated for the shader program string "
287 static void shader_init(struct IWineD3DBaseShaderClass *shader, IWineD3DDeviceImpl *device, argument
290 shader->ref = 1;
291 shader->device = (IWineD3DDevice *)device;
292 shader->parent = parent;
293 shader->parent_ops = parent_ops;
294 list_init(&shader->linked_programs);
295 list_add_head(&device->shaders, &shader->shader_list_entry);
337 static void shader_record_register_usage(IWineD3DBaseShaderImpl *shader, struc argument
450 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)iface; local
1098 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)iface; local
1398 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)iface; local
1471 shader_get_parent(IWineD3DBaseShaderImpl *shader, IUnknown **parent) argument
1478 shader_get_function(IWineD3DBaseShaderImpl *shader, void *data, UINT *data_size) argument
1499 shader_set_function(IWineD3DBaseShaderImpl *shader, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, DWORD float_const_count) argument
1566 IWineD3DVertexShaderImpl *shader = (IWineD3DVertexShaderImpl *)iface; local
1580 IWineD3DVertexShaderImpl *shader = (IWineD3DVertexShaderImpl *)iface; local
1619 IWineD3DVertexShaderImpl *shader =(IWineD3DVertexShaderImpl *)iface; local
1659 find_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct vs_compile_args *args) argument
1680 IWineD3DVertexShaderImpl *shader = (IWineD3DVertexShaderImpl *)iface; local
1698 vertexshader_set_limits(IWineD3DVertexShaderImpl *shader) argument
1772 vertexshader_init(IWineD3DVertexShaderImpl *shader, IWineD3DDeviceImpl *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
1871 struct wined3d_geometryshader *shader = (struct wined3d_geometryshader *)iface; local
1881 struct wined3d_geometryshader *shader = (struct wined3d_geometryshader *)iface; local
1890 HeapFree(GetProcessHeap(), 0, shader); local
1924 geometryshader_init(struct wined3d_geometryshader *shader, IWineD3DDeviceImpl *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
1968 IWineD3DPixelShaderImpl *shader = (IWineD3DPixelShaderImpl *)iface; local
1978 IWineD3DPixelShaderImpl *shader = (IWineD3DPixelShaderImpl *)iface; local
2025 find_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct ps_compile_args *args) argument
2125 pixelshader_set_limits(IWineD3DPixelShaderImpl *shader) argument
2213 pixelshader_init(IWineD3DPixelShaderImpl *shader, IWineD3DDeviceImpl *device, const DWORD *byte_code, const struct wined3d_shader_signature *output_signature, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
2328 shader_reinit(struct IWineD3DBaseShaderClass *shader, IWineD3DDeviceImpl *device, IUnknown *parent, const struct wined3d_parent_ops *parent_ops) argument
[all...]
H A Dglsl_shader.c2 * GLSL pixel and vertex shader implementation
34 * D3D shader asm has swizzles on source parameters, and write masks for
94 /* GLSL shader private data */
245 "Vertex shader was successfully compiled to run on hardware.\n", /* fglrx */
246 "Fragment shader was successfully compiled to run on hardware.\n", /* fglrx, with \n */
247 "Fragment shader was successfully compiled to run on hardware.", /* fglrx, no \n */
248 "Fragment shader(s) linked, vertex shader(s) linked. \n ", /* fglrx, with \n */
249 "Fragment shader(s) linked, vertex shader(
301 shader_glsl_dump_shader_source(const struct wined3d_gl_info *gl_info, GLhandleARB shader) argument
753 get_fixup_info(const IWineD3DPixelShaderImpl *shader, UINT inp2fixup_info) argument
2861 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2925 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2943 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3048 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3372 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3408 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3433 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3452 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3484 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3519 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
4142 hardcode_local_constants(IWineD3DBaseShaderImpl *shader, const struct wined3d_gl_info *gl_info, GLhandleARB programId, char prefix) argument
4340 find_glsl_pshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, IWineD3DPixelShaderImpl *shader, const struct ps_compile_args *args, UINT *inp2fixup_info ) argument
4422 find_glsl_vshader(const struct wined3d_context *context, struct wined3d_shader_buffer *buffer, IWineD3DVertexShaderImpl *shader, const struct vs_compile_args *args) argument
[all...]
H A Darb_program_shader.c80 ERR("Failed to allocate %lu bytes for shader source.\n", source_size);
93 static BOOL need_mova_const(IWineD3DBaseShader *shader, const struct wined3d_gl_info *gl_info) argument
95 IWineD3DBaseShaderImpl *This = (IWineD3DBaseShaderImpl *) shader;
119 static unsigned int reserved_vs_const(IWineD3DBaseShader *shader, const struct wined3d_gl_info *gl_info) argument
123 * some immediate values into the shader
126 if(need_mova_const(shader, gl_info)) ret++;
427 return ret; /* The loaded immediate constants need reloading for the next shader */
598 /* Load DirectX 9 float constants for vertex shader */
607 /* Load DirectX 9 float constants for pixel shader */
619 /* We don't want shader constan
1683 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
1815 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
1912 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
1966 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2041 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2063 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2086 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2109 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
2151 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *)ins->ctx->shader; local
3070 IWineD3DBaseShaderImpl *shader = (IWineD3DBaseShaderImpl *) ins->ctx->shader; local
3729 init_output_registers(IWineD3DVertexShaderImpl *shader, DWORD sig_num, struct shader_arb_ctx_priv *priv_ctx, struct arb_vs_compiled_shader *compiled) argument
4070 find_arb_pshader(IWineD3DPixelShaderImpl *shader, const struct arb_ps_compile_args *args, const struct wined3d_context *context) argument
4168 find_arb_vshader(IWineD3DVertexShaderImpl *shader, const struct arb_vs_compile_args *args, const struct wined3d_context *context) argument
4237 find_arb_ps_compile_args(IWineD3DPixelShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct arb_ps_compile_args *args) argument
4292 find_arb_vs_compile_args(IWineD3DVertexShaderImpl *shader, IWineD3DStateBlockImpl *stateblock, struct arb_vs_compile_args *args) argument
5258 GLuint shader; member in struct:arbfp_ffp_desc
6545 GLenum shader; local
6644 GLenum shader; local
6800 GLenum shader; local
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_glsl.c29 void SERVER_DISPATCH_APIENTRY crServerDispatchShaderSource(GLuint shader, GLsizei count, const char ** string, const GLint * length) argument
31 /*@todo?crStateShaderSource(shader...);*/
35 cr_server.head_spu->dispatch_table.ShaderSource(crStateGetShaderHWID(shader), count, string, length);
40 CR_SERVER_DUMP_SHADER_SOURCE(shader);
43 void SERVER_DISPATCH_APIENTRY crServerDispatchCompileShader(GLuint shader) argument
48 crStateCompileShader(shader);
49 cr_server.head_spu->dispatch_table.CompileShader(crStateGetShaderHWID(shader));
51 cr_server.head_spu->dispatch_table.GetShaderiv(crStateGetShaderHWID(shader), GL_COMPILE_STATUS, &iCompileStatus);
54 CR_SERVER_DUMP_COMPILE_SHADER(shader);
57 void SERVER_DISPATCH_APIENTRY crServerDispatchDeleteShader(GLuint shader) argument
67 crServerDispatchAttachShader(GLuint program, GLuint shader) argument
73 crServerDispatchDetachShader(GLuint program, GLuint shader) argument
160 crServerDispatchGetShaderiv( GLuint shader, GLenum pname, GLint * params ) argument
[all...]
H A Dserver_getshaders.c150 void SERVER_DISPATCH_APIENTRY crServerDispatchGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, char *infoLog) argument
162 cr_server.head_spu->dispatch_table.GetShaderInfoLog(crStateGetShaderHWID(shader), bufSize, pLocal, (char*)&pLocal[1]);
185 void SERVER_DISPATCH_APIENTRY crServerDispatchGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, char *source) argument
197 cr_server.head_spu->dispatch_table.GetShaderSource(crStateGetShaderHWID(shader), bufSize, pLocal, (char*)&pLocal[1]);
314 GLboolean SERVER_DISPATCH_APIENTRY crServerDispatchIsShader(GLuint shader) argument
317 retval = cr_server.head_spu->dispatch_table.IsShader(crStateGetShaderHWID(shader));
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/
H A Dpixelshader.c102 HRESULT pixelshader_init(IDirect3DPixelShader8Impl *shader, IDirect3DDevice8Impl *device, argument
107 shader->ref = 1;
108 shader->lpVtbl = &Direct3DPixelShader8_Vtbl;
109 shader->handle = shader_handle;
113 NULL, &shader->wineD3DPixelShader, (IUnknown *)shader,
118 WARN("Failed to create wined3d pixel shader, hr %#x.\n", hr);
H A Dvertexshader.c72 IDirect3DVertexShader8Impl *shader = parent; local
73 IDirect3DVertexDeclaration8_Release(shader->vertex_declaration);
74 HeapFree(GetProcessHeap(), 0, shader); local
141 HRESULT vertexshader_init(IDirect3DVertexShader8Impl *shader, IDirect3DDevice8Impl *device, argument
166 shader->ref = 1;
167 shader->lpVtbl = &Direct3DVertexShader8_Vtbl;
169 hr = vertexshader_create_vertexdeclaration(device, declaration, shader_handle, &shader->vertex_declaration);
182 NULL /* output signature */, &shader->wineD3DVertexShader,
183 (IUnknown *)shader, &d3d8_vertexshader_wined3d_parent_ops);
187 WARN("Failed to create wined3d vertex shader, h
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/
H A Dpixelshader.c140 HRESULT pixelshader_init(IDirect3DPixelShader9Impl *shader, IDirect3DDevice9Impl *device, const DWORD *byte_code) argument
144 shader->ref = 1;
145 shader->lpVtbl = &Direct3DPixelShader9_Vtbl;
149 NULL, &shader->wineD3DPixelShader, (IUnknown *)shader,
154 WARN("Failed to created wined3d pixel shader, hr %#x.\n", hr);
158 shader->parentDevice = (IDirect3DDevice9Ex *)device;
159 IDirect3DDevice9Ex_AddRef(shader->parentDevice);
166 IDirect3DPixelShader9Impl *shader = (IDirect3DPixelShader9Impl *)pShader; local
168 TRACE("iface %p, shader
[all...]
H A Dvertexshader.c140 HRESULT vertexshader_init(IDirect3DVertexShader9Impl *shader, IDirect3DDevice9Impl *device, const DWORD *byte_code) argument
144 shader->ref = 1;
145 shader->lpVtbl = &Direct3DVertexShader9_Vtbl;
149 NULL /* output signature */, &shader->wineD3DVertexShader,
150 (IUnknown *)shader, &d3d9_vertexshader_wined3d_parent_ops);
154 WARN("Failed to create wined3d vertex shader, hr %#x.\n", hr);
158 shader->parentDevice = (IDirect3DDevice9Ex *)device;
159 IDirect3DDevice9Ex_AddRef(shader->parentDevice);
168 TRACE("iface %p, shader %p.\n", iface, pShader);
183 TRACE("iface %p, shader
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dd3dcompiler.h76 const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
79 const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
123 ID3DBlob **shader, ID3DBlob **error_messages);
126 ID3DBlob **shader, ID3DBlob **error_messages);
H A Dd3dx9shader.h285 ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages);
287 ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages);
291 ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages);
293 ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages);
297 ID3DXInclude *include, DWORD flags, ID3DXBuffer **shader, ID3DXBuffer **error_messages);
301 ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table);
305 ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table);
308 ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table);
313 ID3DXBuffer **shader, ID3DXBuffer **error_messages, ID3DXConstantTable **constant_table);
316 ID3DXBuffer **shader, ID3DXBuffe
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/shader/slang/
H A Dslang_compile.h93 _slang_compile (GLcontext *ctx, struct gl_shader *shader);
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/main/
H A Dshaders.h167 _mesa_AttachShader(GLuint program, GLuint shader);
179 _mesa_DeleteShader(GLuint shader);
182 _mesa_DetachShader(GLuint program, GLuint shader);
196 _mesa_GetShaderiv(GLuint shader, GLenum pname, GLint *params);
199 _mesa_GetShaderInfoLog(GLuint shader, GLsizei bufSize,
206 _mesa_IsShader(GLuint shader);
/vbox/src/VBox/Additions/common/crOpenGL/pack/
H A Dpackspu_glsl.c212 /* we do not track shader creation inside guest since it is not needed currently.
255 void PACKSPU_APIENTRY packspu_CompileShader(GLuint shader) argument
261 // crStateCompileShader(shader);
262 crPackCompileShader(shader);
265 pack_spu.self.GetObjectParameterivARB(shader, GL_OBJECT_COMPILE_STATUS_ARB, &compileStatus);
271 crRecDumpShader(&pack_spu.Recorder, ctx, shader, shader);
H A Dpackspu_getshaders.c168 void PACKSPU_APIENTRY packspu_GetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, char * infoLog) argument
179 crPackGetShaderInfoLog(shader, bufSize, pLocal, NULL, &writeback);
189 void PACKSPU_APIENTRY packspu_GetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, char * source) argument
200 crPackGetShaderSource(shader, bufSize, pLocal, NULL, &writeback);
/vbox/include/VBox/
H A DVBoxGL2D.h79 typedef GLvoid (APIENTRY *PFNVBOXVHWA_SHADER_SOURCE) (GLuint shader, GLsizei count, const GLchar **string, const GLint *length);
80 typedef GLvoid (APIENTRY *PFNVBOXVHWA_COMPILE_SHADER) (GLuint shader);
81 typedef GLvoid (APIENTRY *PFNVBOXVHWA_DELETE_SHADER) (GLuint shader);
84 typedef GLvoid (APIENTRY *PFNVBOXVHWA_ATTACH_SHADER) (GLuint program, GLuint shader);
85 typedef GLvoid (APIENTRY *PFNVBOXVHWA_DETACH_SHADER) (GLuint program, GLuint shader);
90 typedef GLboolean (APIENTRY *PFNVBOXVHWA_IS_SHADER) (GLuint shader);
91 typedef GLvoid (APIENTRY *PFNVBOXVHWA_GET_SHADERIV) (GLuint shader, GLenum pname, GLint *params);
95 typedef GLvoid (APIENTRY *PFNVBOXVHWA_GET_SHADER_INFO_LOG) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-shared.h72 VMSVGA3DSHADER shader; local
83 /* Fetch a copy of the shader struct. */
84 rc = SSMR3GetStructEx(pSSM, &shader, sizeof(shader), 0, g_aVMSVGA3DSHADERFields, NULL);
87 pData = (uint32_t *)RTMemAlloc(shader.cbData);
90 rc = SSMR3GetMem(pSSM, pData, shader.cbData);
93 rc = vmsvga3dShaderDefine(pThis, cid, shid, shader.type, shader.cbData, pData);
103 VMSVGA3DSHADER shader; local
114 /* Fetch a copy of the shader struc
[all...]
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_glsl.c302 /* the proogram and shader names must not intersect because DeleteObjectARB must distinguish between them
304 * this is why use programs table for shader keys allocation */
394 DECLEXPORT(void) STATE_APIENTRY crStateCompileShader(GLuint shader) argument
396 CRGLSLShader *pShader = crStateGetShaderObj(shader);
399 crWarning("Unknown shader %d", shader);
411 DECLEXPORT(void) STATE_APIENTRY crStateDeleteShader(GLuint shader) argument
413 CRGLSLShader *pShader = crStateGetShaderObj(shader);
416 crWarning("Unknown shader %d", shader);
433 crStateAttachShader(GLuint program, GLuint shader) argument
463 crStateDetachShader(GLuint program, GLuint shader) argument
[all...]

Completed in 174 milliseconds

1234