/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/src/ |
H A D | renderer_d3d11.h | 205 void create(const ShaderD3D11* _vsh, const ShaderD3D11* _fsh) in create() 207 BX_CHECK(NULL != _vsh->m_ptr, "Vertex shader doesn't exist."); in create() 208 m_vsh = _vsh; in create() 209 …bx::memCopy(&m_predefined[0], _vsh->m_predefined, _vsh->m_numPredefined*sizeof(PredefinedUniform) … in create() 210 m_numPredefined = _vsh->m_numPredefined; in create()
|
H A D | renderer_d3d9.h | 280 void create(const ShaderD3D9* _vsh, const ShaderD3D9* _fsh) in create() 282 m_vsh = _vsh; in create() 285 …bx::memCopy(&m_predefined[0], _vsh->m_predefined, _vsh->m_numPredefined*sizeof(PredefinedUniform) … in create() 286 m_numPredefined = _vsh->m_numPredefined; in create() 290 …bx::memCopy(&m_predefined[_vsh->m_numPredefined], _fsh->m_predefined, _fsh->m_numPredefined*sizeof… in create()
|
H A D | renderer_d3d12.h | 283 void create(const ShaderD3D12* _vsh, const ShaderD3D12* _fsh) in create() 285 BX_CHECK(NULL != _vsh->m_code, "Vertex shader doesn't exist."); in create() 286 m_vsh = _vsh; in create() 287 …bx::memCopy(&m_predefined[0], _vsh->m_predefined, _vsh->m_numPredefined*sizeof(PredefinedUniform)); in create() 288 m_numPredefined = _vsh->m_numPredefined; in create()
|
H A D | bgfx_p.h | 3968 if (!isValid(_vsh) in BGFX_API_FUNC() 3998 shaderIncRef(_vsh); in BGFX_API_FUNC() 4001 pr.m_vsh = _vsh; in BGFX_API_FUNC() 4011 cmdbuf.write(_vsh); in BGFX_API_FUNC() 4018 shaderTakeOwnership(_vsh); in BGFX_API_FUNC() 4029 if (!isValid(_vsh) ) in BGFX_API_FUNC() 4050 shaderIncRef(_vsh); in BGFX_API_FUNC() 4052 pr.m_vsh = _vsh; in BGFX_API_FUNC() 4057 const uint32_t key = uint32_t(_vsh.idx); in BGFX_API_FUNC() 4063 cmdbuf.write(_vsh); in BGFX_API_FUNC() [all …]
|
H A D | renderer_vk.h | 458 void create(const ShaderVK* _vsh, const ShaderVK* _fsh);
|
H A D | renderer_vk.cpp | 330 …void fillVertexLayout(const ShaderVK* _vsh, VkPipelineVertexInputStateCreateInfo& _vertexInputStat… in fillVertexLayout() argument 345 inputAttrib->location = _vsh->m_attrRemap[attr]; in fillVertexLayout() 367 BX_UNUSED(_vsh); in fillInstanceBinding() 2402 void createProgram(ProgramHandle _handle, ShaderHandle _vsh, ShaderHandle _fsh) override in createProgram() 2404 m_program[_handle.idx].create(&m_shaders[_vsh.idx], isValid(_fsh) ? &m_shaders[_fsh.idx] : NULL); in createProgram() 4885 void ProgramVK::create(const ShaderVK* _vsh, const ShaderVK* _fsh) in create() argument 4887 BX_CHECK(NULL != _vsh->m_code, "Vertex shader doesn't exist."); in create() 4888 m_vsh = _vsh; in create() 4891 , _vsh->m_predefined in create() 4892 , _vsh->m_numPredefined * sizeof(PredefinedUniform) in create() [all …]
|
H A D | renderer_gl.cpp | 2772 void createProgram(ProgramHandle _handle, ShaderHandle _vsh, ShaderHandle _fsh) override in createProgram() 2775 …m_program[_handle.idx].create(m_shaders[_vsh.idx], isValid(_fsh) ? m_shaders[_fsh.idx] : dummyFrag… in createProgram() 4153 void ProgramGL::create(const ShaderGL& _vsh, const ShaderGL& _fsh) in create() argument 4156 BX_TRACE("Program create: GL%d: GL%d, GL%d", m_id, _vsh.m_id, _fsh.m_id); in create() 4158 const uint64_t id = (uint64_t(_vsh.m_hash)<<32) | _fsh.m_hash; in create() 4164 if (0 != _vsh.m_id) in create() 4166 GL_CHECK(glAttachShader(m_id, _vsh.m_id) ); in create() 4186 BX_WARN(0 != _vsh.m_id, "Invalid vertex/compute shader."); in create() 4203 GL_CHECK(glDetachShader(m_id, _vsh.m_id) ); in create()
|
H A D | renderer_mtl.mm | 797 void createProgram(ProgramHandle _handle, ShaderHandle _vsh, ShaderHandle _fsh) override 799 m_program[_handle.idx].create(&m_shaders[_vsh.idx], isValid(_fsh) ? &m_shaders[_fsh.idx] : NULL); 2477 void ProgramMtl::create(const ShaderMtl* _vsh, const ShaderMtl* _fsh) 2479 BX_CHECK(NULL != _vsh->m_function.m_obj, "Vertex shader doesn't exist."); 2480 m_vsh = _vsh; 2487 if (NULL != _vsh->m_function.m_obj) 2489 for (MTLVertexAttribute* attrib in _vsh->m_function.m_obj.vertexAttributes)
|
H A D | renderer_gl.h | 1375 void create(const ShaderGL& _vsh, const ShaderGL& _fsh);
|
H A D | renderer_mtl.h | 861 void create(const ShaderMtl* _vsh, const ShaderMtl* _fsh);
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/src/ |
H A D | renderer_d3d11.h | 205 void create(const ShaderD3D11* _vsh, const ShaderD3D11* _fsh) in create() 207 BX_CHECK(NULL != _vsh->m_ptr, "Vertex shader doesn't exist."); in create() 208 m_vsh = _vsh; in create() 209 …bx::memCopy(&m_predefined[0], _vsh->m_predefined, _vsh->m_numPredefined*sizeof(PredefinedUniform) … in create() 210 m_numPredefined = _vsh->m_numPredefined; in create()
|
H A D | renderer_d3d9.h | 280 void create(const ShaderD3D9* _vsh, const ShaderD3D9* _fsh) in create() 282 m_vsh = _vsh; in create() 285 …bx::memCopy(&m_predefined[0], _vsh->m_predefined, _vsh->m_numPredefined*sizeof(PredefinedUniform) … in create() 286 m_numPredefined = _vsh->m_numPredefined; in create() 290 …bx::memCopy(&m_predefined[_vsh->m_numPredefined], _fsh->m_predefined, _fsh->m_numPredefined*sizeof… in create()
|
H A D | renderer_d3d12.h | 283 void create(const ShaderD3D12* _vsh, const ShaderD3D12* _fsh) in create() 285 BX_CHECK(NULL != _vsh->m_code, "Vertex shader doesn't exist."); in create() 286 m_vsh = _vsh; in create() 287 …bx::memCopy(&m_predefined[0], _vsh->m_predefined, _vsh->m_numPredefined*sizeof(PredefinedUniform)); in create() 288 m_numPredefined = _vsh->m_numPredefined; in create()
|
H A D | bgfx_p.h | 3968 if (!isValid(_vsh) in BGFX_API_FUNC() 3998 shaderIncRef(_vsh); in BGFX_API_FUNC() 4001 pr.m_vsh = _vsh; in BGFX_API_FUNC() 4011 cmdbuf.write(_vsh); in BGFX_API_FUNC() 4018 shaderTakeOwnership(_vsh); in BGFX_API_FUNC() 4029 if (!isValid(_vsh) ) in BGFX_API_FUNC() 4050 shaderIncRef(_vsh); in BGFX_API_FUNC() 4052 pr.m_vsh = _vsh; in BGFX_API_FUNC() 4057 const uint32_t key = uint32_t(_vsh.idx); in BGFX_API_FUNC() 4063 cmdbuf.write(_vsh); in BGFX_API_FUNC() [all …]
|
H A D | renderer_vk.h | 458 void create(const ShaderVK* _vsh, const ShaderVK* _fsh);
|
H A D | renderer_vk.cpp | 330 …void fillVertexLayout(const ShaderVK* _vsh, VkPipelineVertexInputStateCreateInfo& _vertexInputStat… in fillVertexLayout() argument 345 inputAttrib->location = _vsh->m_attrRemap[attr]; in fillVertexLayout() 367 BX_UNUSED(_vsh); in fillInstanceBinding() 2402 void createProgram(ProgramHandle _handle, ShaderHandle _vsh, ShaderHandle _fsh) override in createProgram() 2404 m_program[_handle.idx].create(&m_shaders[_vsh.idx], isValid(_fsh) ? &m_shaders[_fsh.idx] : NULL); in createProgram() 4885 void ProgramVK::create(const ShaderVK* _vsh, const ShaderVK* _fsh) in create() argument 4887 BX_CHECK(NULL != _vsh->m_code, "Vertex shader doesn't exist."); in create() 4888 m_vsh = _vsh; in create() 4891 , _vsh->m_predefined in create() 4892 , _vsh->m_numPredefined * sizeof(PredefinedUniform) in create() [all …]
|
H A D | renderer_gl.cpp | 2772 void createProgram(ProgramHandle _handle, ShaderHandle _vsh, ShaderHandle _fsh) override in createProgram() 2775 …m_program[_handle.idx].create(m_shaders[_vsh.idx], isValid(_fsh) ? m_shaders[_fsh.idx] : dummyFrag… in createProgram() 4153 void ProgramGL::create(const ShaderGL& _vsh, const ShaderGL& _fsh) in create() argument 4156 BX_TRACE("Program create: GL%d: GL%d, GL%d", m_id, _vsh.m_id, _fsh.m_id); in create() 4158 const uint64_t id = (uint64_t(_vsh.m_hash)<<32) | _fsh.m_hash; in create() 4164 if (0 != _vsh.m_id) in create() 4166 GL_CHECK(glAttachShader(m_id, _vsh.m_id) ); in create() 4186 BX_WARN(0 != _vsh.m_id, "Invalid vertex/compute shader."); in create() 4203 GL_CHECK(glDetachShader(m_id, _vsh.m_id) ); in create()
|
H A D | renderer_mtl.mm | 797 void createProgram(ProgramHandle _handle, ShaderHandle _vsh, ShaderHandle _fsh) override 799 m_program[_handle.idx].create(&m_shaders[_vsh.idx], isValid(_fsh) ? &m_shaders[_fsh.idx] : NULL); 2477 void ProgramMtl::create(const ShaderMtl* _vsh, const ShaderMtl* _fsh) 2479 BX_CHECK(NULL != _vsh->m_function.m_obj, "Vertex shader doesn't exist."); 2480 m_vsh = _vsh; 2487 if (NULL != _vsh->m_function.m_obj) 2489 for (MTLVertexAttribute* attrib in _vsh->m_function.m_obj.vertexAttributes)
|
H A D | renderer_gl.h | 1375 void create(const ShaderGL& _vsh, const ShaderGL& _fsh);
|
H A D | renderer_mtl.h | 861 void create(const ShaderMtl* _vsh, const ShaderMtl* _fsh);
|
/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | glhr.cpp | 306 string _vsh, _fsh; member 386 _vsh = vsh; _fsh = fsh; in GLprogram() 570 …if(detailed_shader) println(hlog, "\n*** ENABLING VERTEX SHADER:\n", cur->_vsh, "\n\nENABLING FRAG… in full_enable()
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/bindings/d/ |
H A D | funcs.d | 670 …bgfx_program_handle_t bgfx_create_program(bgfx_shader_handle_t _vsh, bgfx_shader_handle_t _fsh, bo… in version() 2783 …alias da_bgfx_create_program = bgfx_program_handle_t function(bgfx_shader_handle_t _vsh, bgfx_shad…
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/bindings/d/ |
H A D | funcs.d | 670 …bgfx_program_handle_t bgfx_create_program(bgfx_shader_handle_t _vsh, bgfx_shader_handle_t _fsh, bo… in version() 2783 …alias da_bgfx_create_program = bgfx_program_handle_t function(bgfx_shader_handle_t _vsh, bgfx_shad…
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/include/bgfx/c99/ |
H A D | bgfx.h | 1644 BGFX_C_API bgfx_program_handle_t bgfx_create_program(bgfx_shader_handle_t _vsh, bgfx_shader_handle_… 3478 …bgfx_program_handle_t (*create_program)(bgfx_shader_handle_t _vsh, bgfx_shader_handle_t _fsh, bool…
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/include/bgfx/c99/ |
H A D | bgfx.h | 1644 BGFX_C_API bgfx_program_handle_t bgfx_create_program(bgfx_shader_handle_t _vsh, bgfx_shader_handle_… 3478 …bgfx_program_handle_t (*create_program)(bgfx_shader_handle_t _vsh, bgfx_shader_handle_t _fsh, bool…
|